Skip to content
Snippets Groups Projects
Commit e95124df authored by Alex Pott's avatar Alex Pott
Browse files

Issue #2340123 followup by Mile23: Setting cache tags can be tricky: use...

Issue #2340123 followup by Mile23: Setting cache tags can be tricky: use strings instead of nested arrays to improve DX.
parent 2c2e2ce3
Branches
Tags
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -133,7 +133,7 @@ public function testDeleteTags() {
* @expectedExceptionMessage Cache tags must be strings, array given.
*/
public function testInvalidateTags() {
Cache::deleteTags(['node' => [2, 3, 5, 8, 13]]);
Cache::invalidateTags(['node' => [2, 3, 5, 8, 13]]);
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment