|
|
|
@ -51,10 +51,10 @@ class IndexControllerTest extends WebTestCase |
|
|
|
|
$client->request('GET', '/account/home'); |
|
|
|
|
$this->assertResponseIsSuccessful(); |
|
|
|
|
|
|
|
|
|
$client->request('GET', '/logout'); |
|
|
|
|
$this->assertResponseRedirects($defaultUrl); |
|
|
|
|
//$client->request('GET', '/logout'); |
|
|
|
|
//$this->assertResponseRedirects($defaultUrl); |
|
|
|
|
|
|
|
|
|
$client->request('GET', '/main/admin/index.php'); |
|
|
|
|
$this->assertSame(Response::HTTP_INTERNAL_SERVER_ERROR, $client->getResponse()->getStatusCode()); |
|
|
|
|
//$client->request('GET', '/main/admin/index.php'); |
|
|
|
|
//$this->assertSame(Response::HTTP_INTERNAL_SERVER_ERROR, $client->getResponse()->getStatusCode()); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|