mirror of
https://github.com/barryvdh/laravel-ide-helper.git
synced 2026-08-18 10:07:12 +00:00
Add Ignored to the return values from the mocked filesystem
This commit is contained in:
@@ -32,6 +32,7 @@ class Test extends AbstractModelsCommand
|
||||
$mockFilesystem = Mockery::mock(Filesystem::class);
|
||||
$mockFilesystem
|
||||
->shouldReceive('get')
|
||||
->andReturn(file_get_contents(__DIR__ . '/Models/Ignored.php'))
|
||||
->andReturn(file_get_contents(__DIR__ . '/Models/NotIgnored.php'))
|
||||
->once();
|
||||
$mockFilesystem
|
||||
|
||||
Reference in New Issue
Block a user