Skip to content

Commit

Permalink
fix: Remove cache prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
DDEV User committed Sep 19, 2024
1 parent b64f093 commit 2385731
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Tests/Functional/Frontend/ProcessesMarkersHookTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public function executesHookClass(): void
$this->fetchContentForPage(1)
);

$pageCache = $this->getAllRecords('cache_pages_tags');
$pageCache = $this->getAllRecords('pages_tags');
self::assertCount(2, $pageCache);
self::assertSame('tx_variables_key_hash_b3560bb929f682dcc19c903256f98639', $pageCache[0]['tag']);
}
Expand Down
8 changes: 4 additions & 4 deletions Tests/Functional/Frontend/ProcessesMarkersTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public function noMarkerAppliedAsNoneExist(): void
$this->fetchContentForPage(1)
);

$pageCache = $this->getAllRecords('cache_pages_tags');
$pageCache = $this->getAllRecords('pages_tags');
self::assertCount(1, $pageCache);
}

Expand All @@ -53,7 +53,7 @@ public function appliesMarkersStoredOnSamePage(): void
$this->fetchContentForPage(1)
);

$pageCache = $this->getAllRecords('cache_pages_tags');
$pageCache = $this->getAllRecords('pages_tags');
self::assertCount(2, $pageCache);
self::assertSame('tx_variables_key_hash_b3560bb929f682dcc19c903256f98639', $pageCache[0]['tag']);
}
Expand All @@ -68,7 +68,7 @@ public function appliesMarkersFromRootlinePage(): void
$this->fetchContentForPage(2)
);

$pageCache = $this->getAllRecords('cache_pages_tags');
$pageCache = $this->getAllRecords('pages_tags');
self::assertCount(3, $pageCache);
self::assertSame('tx_variables_key_hash_b3560bb929f682dcc19c903256f98639', $pageCache[0]['tag']);
self::assertSame('tx_variables_key_hash_7324efb2ab7ff6e7ef0fe77210ff6b20', $pageCache[1]['tag']);
Expand All @@ -84,7 +84,7 @@ public function appliesMarkersFromConfiguredStoragePid(): void
$this->fetchContentForPage(3)
);

$pageCache = $this->getAllRecords('cache_pages_tags');
$pageCache = $this->getAllRecords('pages_tags');
self::assertCount(2, $pageCache);
self::assertSame('tx_variables_key_hash_2328e4c0fcee8716480763f53e97ea82', $pageCache[0]['tag']);
}
Expand Down

0 comments on commit 2385731

Please sign in to comment.