Skip to content

Commit 4aeff1f

Browse files
committed
Testing build actions
1 parent 2bec018 commit 4aeff1f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests/Feature/Command/TailwindCssCommandTest.php

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

20-
$packageJsonPath = base_path('vendor/orchestra/testbench-core/laravel/package.json');
21-
if (File::exists($packageJsonPath)) {
22-
File::put($packageJsonPath, '
20+
$packageJsonPath = 'package.json';
21+
if (File::exists(base_path($packageJsonPath))) {
22+
File::put(base_path($packageJsonPath), '
2323
{
2424
"devDependencies": {}
2525
}');
@@ -35,9 +35,9 @@ public function it_installs_tailwindcss_command(): void
3535
/** @test */
3636
public function it_asks_to_overwrite_tailwindcss_command(): void
3737
{
38-
$packageJsonPath = base_path('vendor/orchestra/testbench-core/laravel/package.json');
39-
if (File::exists($packageJsonPath)) {
40-
File::put($packageJsonPath, '
38+
$packageJsonPath = 'package.json';
39+
if (File::exists(base_path($packageJsonPath))) {
40+
File::put(base_path($packageJsonPath), '
4141
{
4242
"devDependencies": {
4343
"@tailwindcss/forms": "^0.5.7",

0 commit comments

Comments
 (0)