Commit e95124df authored by alexpott's avatar alexpott
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
...@@ -133,7 +133,7 @@ public function testDeleteTags() { ...@@ -133,7 +133,7 @@ public function testDeleteTags() {
* @expectedExceptionMessage Cache tags must be strings, array given. * @expectedExceptionMessage Cache tags must be strings, array given.
*/ */
public function testInvalidateTags() { public function testInvalidateTags() {
Cache::deleteTags(['node' => [2, 3, 5, 8, 13]]); Cache::invalidateTags(['node' => [2, 3, 5, 8, 13]]);
} }
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment