Skip to content

Commit

Permalink
fixed ServiceProviderTests
Browse files Browse the repository at this point in the history
  • Loading branch information
SPie committed Oct 9, 2020
1 parent df8c28e commit ce3f0a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/Unit/LaravelServiceProviderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ private function createApp(Repository $configRepository = null, AuthManager $aut
{
$app = Mockery::spy(Container::class, \ArrayAccess::class);
$app
->shouldReceive('offsetGet')
->shouldReceive('make')
->andReturnUsing(function ($argument) use ($configRepository) {
switch ($argument) {
case 'config':
Expand Down
2 changes: 1 addition & 1 deletion tests/Unit/LumenServiceProviderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ private function createApp(Repository $configRepository = null, AuthManager $aut
{
$app = Mockery::spy(Container::class, \ArrayAccess::class);
$app
->shouldReceive('offsetGet')
->shouldReceive('make')
->andReturnUsing(function ($argument) use ($configRepository) {
switch ($argument) {
case 'config':
Expand Down

0 comments on commit ce3f0a1

Please sign in to comment.