Skip to content

Commit

Permalink
Use the automatic mocking feature
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Sep 8, 2024
1 parent fdb4ffb commit a0f0d18
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ class HyperlinkFileHelperRelativeLinkTest extends UnitTestCase

protected static bool $needsKernel = true;
protected static bool $needsConfig = true;
protected static bool $needsRender = true;

protected function setUp(): void
{
Render::swap(new RenderData());
View::swap(Mockery::mock(Factory::class)->makePartial());
}

Expand Down

0 comments on commit a0f0d18

Please sign in to comment.