GcBackend\Controller\IndexControllerTest::testSaveDashboardActionWithDashboardParam PHP Метод

testSaveDashboardActionWithDashboardParam() публичный Метод

Test
public testSaveDashboardActionWithDashboardParam ( ) : void
Результат void
    public function testSaveDashboardActionWithDashboardParam()
    {
        $this->dispatch('/admin/dashboard/save', 'POST', array('dashboard' => true));
        $this->assertResponseStatusCode(200);
        $this->assertModuleName('GcBackend');
        $this->assertControllerName('AdminController');
        $this->assertControllerClass('IndexController');
        $this->assertMatchedRouteName('admin/dashboard-save');
    }