diff --git a/tests/StatusTest.php b/tests/StatusTest.php index ca150d0d6..b4c35cf91 100644 --- a/tests/StatusTest.php +++ b/tests/StatusTest.php @@ -1,5 +1,6 @@ shouldReceive('get')->andReturn('cat'); + $mockStore = Mockery::mock(new ArrayStore())->makePartial(); + Cache::swap($mockStore); + $mockStore->shouldReceive('get')->andReturn('cat'); $resp = $this->get("/status"); $resp->assertStatus(500);