X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/a6633642232efd164d4708967ab59e498fbff896..refs/pull/3000/head:/tests/StatusTest.php diff --git a/tests/StatusTest.php b/tests/StatusTest.php index b4c35cf91..09882759c 100644 --- a/tests/StatusTest.php +++ b/tests/StatusTest.php @@ -1,8 +1,8 @@ get("/status"); + $resp = $this->get('/status'); $resp->assertStatus(200); $resp->assertJson([ 'database' => true, - 'cache' => true, - 'session' => true, + 'cache' => true, + 'session' => true, ]); } @@ -23,7 +23,7 @@ class StatusTest extends TestCase { DB::shouldReceive('table')->andThrow(new Exception()); - $resp = $this->get("/status"); + $resp = $this->get('/status'); $resp->assertStatus(500); $resp->assertJson([ 'database' => false, @@ -36,7 +36,7 @@ class StatusTest extends TestCase Cache::swap($mockStore); $mockStore->shouldReceive('get')->andReturn('cat'); - $resp = $this->get("/status"); + $resp = $this->get('/status'); $resp->assertStatus(500); $resp->assertJson([ 'cache' => false, @@ -50,10 +50,10 @@ class StatusTest extends TestCase Session::swap($mockSession); $mockSession->shouldReceive('get')->andReturn('cat'); - $resp = $this->get("/status"); + $resp = $this->get('/status'); $resp->assertStatus(500); $resp->assertJson([ 'session' => false, ]); } -} \ No newline at end of file +}