Skip to content

Commit

Permalink
Add default value
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Sep 8, 2024
1 parent bbd6f36 commit 89ff0f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/testing/src/UnitTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ protected static function mockConfig(array $items = []): void
Config::swap(app('config'));
}

protected static function mockCurrentRouteKey(string $routeKey): void
protected static function mockCurrentRouteKey(string $routeKey = ''): void
{
Render::shouldReceive('getRouteKey')->andReturn($routeKey);
}
Expand Down

0 comments on commit 89ff0f1

Please sign in to comment.