Skip to content

Commit

Permalink
Mock container class
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Dec 22, 2024
1 parent 2969ab9 commit 2d0e7a3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ public function testFormatOutput()

protected function setupMockApplication(): Container
{
$app = Mockery::mock(app())->makePartial();
$app = Mockery::mock(Container::class)->makePartial();
$app->shouldReceive('resourcePath')->andReturnUsing(fn (string $path) => "resources/$path");

return $app;
Expand Down

0 comments on commit 2d0e7a3

Please sign in to comment.