Skip to content

Commit

Permalink
Move test template
Browse files Browse the repository at this point in the history
  • Loading branch information
bencroker committed Feb 12, 2024
1 parent efdaea9 commit 740aae8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/pest/Feature/CacheRequestTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
});

test('Request with cached include action is a cached include', function() {
[, $index] = Blitz::$plugin->generateCache->saveInclude(1, '_includes/test', []);
[, $index] = Blitz::$plugin->generateCache->saveInclude(1, 'test/_include', []);
sendRequest(UrlHelper::actionUrl('', [
'action' => CacheRequestService::CACHED_INCLUDE_ACTION,
'index' => $index,
Expand All @@ -81,7 +81,7 @@
});

test('Request with dynamic include action is a dynamic include', function() {
[, $index] = Blitz::$plugin->generateCache->saveInclude(1, '_includes/test', []);
[, $index] = Blitz::$plugin->generateCache->saveInclude(1, 'test/_include', []);
sendRequest(UrlHelper::actionUrl('', [
'action' => CacheRequestService::DYNAMIC_INCLUDE_ACTION,
'index' => $index,
Expand Down

0 comments on commit 740aae8

Please sign in to comment.