Skip to content

Commit

Permalink
Update FileCacheTest.php
Browse files Browse the repository at this point in the history
  • Loading branch information
RobiNN1 committed Sep 3, 2023
1 parent 4114782 commit c458f8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/FileCacheTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ protected function tearDown(): void {
*/
private function deleteKeys(array|string $keys): void {
$this->assertSame(
$this->template->render('components/alert', ['message' => (is_array($keys) ? 'Keys' : 'Key "'.$keys.'"').' has been deleted.']),
Helpers::alert($this->template, (is_array($keys) ? 'Keys' : 'Key "'.$keys.'"').' has been deleted.', 'success'),
Helpers::deleteKey($this->template, fn (string $key): bool => $this->filecache->delete($key), false, $keys)
);
}
Expand Down

0 comments on commit c458f8f

Please sign in to comment.