mirror of
https://github.com/barryvdh/laravel-ide-helper.git
synced 2026-08-19 18:43: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 = Mockery::mock(Filesystem::class);
|
||||||
$mockFilesystem
|
$mockFilesystem
|
||||||
->shouldReceive('get')
|
->shouldReceive('get')
|
||||||
|
->andReturn(file_get_contents(__DIR__ . '/Models/Ignored.php'))
|
||||||
->andReturn(file_get_contents(__DIR__ . '/Models/NotIgnored.php'))
|
->andReturn(file_get_contents(__DIR__ . '/Models/NotIgnored.php'))
|
||||||
->once();
|
->once();
|
||||||
$mockFilesystem
|
$mockFilesystem
|
||||||
|
|||||||
Reference in New Issue
Block a user