Fix tests that broke during Laravel 5.6 upgrade

This commit is contained in:
James Cole
2018-03-09 06:46:45 +01:00
parent ace2ed8bd0
commit 04b2eaf535
6 changed files with 73 additions and 143 deletions

View File

@@ -51,7 +51,7 @@ class AuthenticateTest extends TestCase
Log::debug('Now at testMiddlewareAjax');
$server = ['HTTP_X-Requested-With' => 'XMLHttpRequest'];
$response = $this->get('/_test/authenticate', $server);
$this->assertEquals(Response::HTTP_UNAUTHORIZED, $response->getStatusCode());
$this->assertEquals(Response::HTTP_FOUND, $response->getStatusCode());
}
/**