Skip to content

Commit aa71c97

Browse files
committed
wip
1 parent 2a45b9c commit aa71c97

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Tempest/Framework/Installers/ViewComponentsInstaller.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public function install(): void
5050

5151
$this->publish(
5252
$viewComponent->file,
53-
src_path("Views/{$selectedItem}.view.php"),
53+
src_path("ViewComponents/{$selectedItem}.view.php"),
5454
);
5555
}
5656
}

tests/Integration/Core/ViewComponentsInstallerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,11 @@ public function test_all_vendor_view_components_are_listed(): void
6161

6262
$this->installer
6363
->assertFileExists(
64-
path: 'App/Views/x-vendor-a.view.php',
64+
path: 'App/ViewComponents/x-vendor-a.view.php',
6565
content: 'vendor a',
6666
)
6767
->assertFileExists(
68-
path: 'App/Views/x-vendor-b.view.php',
68+
path: 'App/ViewComponents/x-vendor-b.view.php',
6969
content: 'vendor b',
7070
);
7171
}

0 commit comments

Comments
 (0)