mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Fix all tests.
This commit is contained in:
@@ -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());
|
||||
|
Reference in New Issue
Block a user