Skip to content

Commit

Permalink
Wip
Browse files Browse the repository at this point in the history
  • Loading branch information
bakerkretzmar committed Mar 20, 2024
1 parent b13ebbb commit 1b6241c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Unit/FolioTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -210,11 +210,11 @@ public function binding_fields()
{
File::ensureDirectoryExists(resource_path('views/pages/users'));
File::put(resource_path('views/pages/users/[User].blade.php'), '<?php Laravel\Folio\name("users.show");');
File::ensureDirectoryExists(resource_path('views/pages/posts'));
if (! str_starts_with(strtoupper(PHP_OS), 'WIN')) {
File::ensureDirectoryExists(resource_path('views/pages/posts'));
File::put(resource_path('views/pages/posts/[Post:slug].blade.php'), '<?php Laravel\Folio\name("posts.show");');
File::ensureDirectoryExists(resource_path('views/pages/teams'));
}
File::ensureDirectoryExists(resource_path('views/pages/teams'));
File::put(resource_path('views/pages/teams/[Team-uid].blade.php'), '<?php Laravel\Folio\name("teams.show");');

Folio::path(resource_path('views/pages'));
Expand Down

0 comments on commit 1b6241c

Please sign in to comment.