Fixing Unittests

This commit is contained in:
Philipp Holzer 2019-03-23 18:44:52 +01:00
parent e930123b75
commit b4ee1a5b26
No known key found for this signature in database
GPG key ID: 517BE60E2CE5C8A5
3 changed files with 135 additions and 135 deletions

View file

@ -24,14 +24,10 @@ class ConfigConsoleTest extends ConsoleTest
]
]);
$mode = \Mockery::mock(Mode::class);
$mode
$this->mode
->shouldReceive('has')
->andReturn(true);
$this->app
->shouldReceive('getMode')
->andReturn($mode);
}
function testSetGetKeyValue() {