Skip to content

Commit 9dd4e42

Browse files
committed
fix Test
Signed-off-by: Pushpak Chhajed <[email protected]>
1 parent b9a88a8 commit 9dd4e42

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tests/Pest.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
*/
1515

1616
use Laravel\Mcp\Response;
17+
use function Pest\testDirectory;
1718

1819
uses(Tests\TestCase::class)->in('Unit', 'Feature');
1920

@@ -63,6 +64,13 @@
6364
return $this;
6465
});
6566

67+
if (! function_exists('fixture')) {
68+
function fixture(string $name): string
69+
{
70+
return testDirectory('Fixtures/'.$name);
71+
}
72+
}
73+
6674
function fixtureContent(string $name): string
6775
{
6876
return file_get_contents(fixture($name));

0 commit comments

Comments
 (0)