GcDevelopment\Controller\DocumentTypeControllerTest::testAddPropertyActionWithEmptyTab PHP Méthode

testAddPropertyActionWithEmptyTab() public méthode

Test
    public function testAddPropertyActionWithEmptyTab()
    {
        $this->dispatch('/admin/development/document-type/create-property', 'POST', array('name' => 'Test', 'identifier' => 'Test', 'tab' => '0', 'description' => 'Test', 'is_required' => true, 'datatype' => 'Test'));
        $this->assertResponseStatusCode(200);
        $this->assertModuleName('GcDevelopment');
        $this->assertControllerName('DocumentTypeController');
        $this->assertControllerClass('DocumentTypeController');
        $this->assertMatchedRouteName('development/document-type/add-property');
    }