mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-10-13 11:47:56 +03:00
Added inital phpstan/larastan setup
This commit is contained in:
@@ -34,7 +34,7 @@ class StatusTest extends TestCase
|
||||
{
|
||||
$mockStore = Mockery::mock(new ArrayStore())->makePartial();
|
||||
Cache::swap($mockStore);
|
||||
$mockStore->shouldReceive('get')->andReturn('cat');
|
||||
$mockStore->shouldReceive('pull')->andReturn('cat');
|
||||
|
||||
$resp = $this->get('/status');
|
||||
$resp->assertStatus(500);
|
||||
|
Reference in New Issue
Block a user