public testDownloadActionWithInvalidId ( ) : void | ||
return | void |
public function testDownloadActionWithInvalidId()
{
$this->dispatch('/admin/development/layout/download/9999');
$this->assertResponseStatusCode(302);
$this->assertModuleName('GcDevelopment');
$this->assertControllerName('LayoutController');
$this->assertControllerClass('LayoutController');
$this->assertMatchedRouteName('development/layout/download');
}