Skip to content

Commit a2e670e

Browse files
committed
Updated the file paths in the TailwindCssCommandTest.php file to point to the correct location of the package.json file in the vendor directory.
1 parent ce6edeb commit a2e670e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/Feature/Command/TailwindCssCommandTest.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public function it_installs_tailwindcss_command(): void
1717
}
1818
}
1919

20-
$packageJsonPath = base_path('package.json');
20+
$packageJsonPath = base_path('vendor/orchestra/testbench-core/laravel/package.json');
2121
if (File::exists($packageJsonPath)) {
2222
File::put($packageJsonPath, '
2323
{
@@ -35,7 +35,7 @@ public function it_installs_tailwindcss_command(): void
3535
/** @test */
3636
public function it_asks_to_overwrite_tailwindcss_command(): void
3737
{
38-
$packageJsonPath = base_path('package.json');
38+
$packageJsonPath = base_path('vendor/orchestra/testbench-core/laravel/package.json');
3939
if (File::exists($packageJsonPath)) {
4040
File::put($packageJsonPath, '
4141
{

0 commit comments

Comments
 (0)