From 7398051123034bef5c8462008387a487de5f5e9e Mon Sep 17 00:00:00 2001 From: pataar Date: Tue, 10 Mar 2020 11:14:45 +0100 Subject: [PATCH] Add Ignored to the return values from the mocked filesystem --- tests/Console/ModelsCommand/Ignored/Test.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/Console/ModelsCommand/Ignored/Test.php b/tests/Console/ModelsCommand/Ignored/Test.php index 182b082..95d916d 100644 --- a/tests/Console/ModelsCommand/Ignored/Test.php +++ b/tests/Console/ModelsCommand/Ignored/Test.php @@ -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