Fix all tests.

This commit is contained in:
James Cole
2018-02-17 14:14:26 +01:00
parent 0f1cc46b71
commit 632d50a0d0
3 changed files with 10 additions and 1 deletions

View File

@@ -47,6 +47,7 @@ class AuthenticateTest extends TestCase
*/
public function testMiddlewareAjax()
{
//$this->withoutExceptionHandling();
$server = ['HTTP_X-Requested-With' => 'XMLHttpRequest'];
$response = $this->get('/_test/authenticate', $server);
$this->assertEquals(Response::HTTP_UNAUTHORIZED, $response->getStatusCode());