GcDevelopment\Controller\ViewControllerTest::testEditActionWithInvalidId PHP 메소드

testEditActionWithInvalidId() 공개 메소드

Test
public testEditActionWithInvalidId ( ) : void
리턴 void
    public function testEditActionWithInvalidId()
    {
        $this->dispatch('/admin/development/view/edit/99999');
        $this->assertResponseStatusCode(302);
        $this->assertModuleName('GcDevelopment');
        $this->assertControllerName('ViewController');
        $this->assertControllerClass('ViewController');
        $this->assertMatchedRouteName('development/view/edit');
    }