X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Ftests%2FDrupal%2FTests%2FCore%2FCache%2FCacheableMetadataTest.php;h=f3824e8d5009b4d8ce40a3fb44e6ed277d244da0;hp=5eecf1cd792107f36b6bafca1ea2ec13504314c6;hb=9917807b03b64faf00f6a1f29dcb6eafc454efa5;hpb=aea91e65e895364e460983b890e295aa5d5540a5 diff --git a/web/core/tests/Drupal/Tests/Core/Cache/CacheableMetadataTest.php b/web/core/tests/Drupal/Tests/Core/Cache/CacheableMetadataTest.php index 5eecf1cd7..f3824e8d5 100644 --- a/web/core/tests/Drupal/Tests/Core/Cache/CacheableMetadataTest.php +++ b/web/core/tests/Drupal/Tests/Core/Cache/CacheableMetadataTest.php @@ -87,12 +87,12 @@ class CacheableMetadataTest extends UnitTestCase { public function testAddCacheTags() { $metadata = new CacheableMetadata(); $add_expected = [ - [ [], [] ], - [ ['foo:bar'], ['foo:bar'] ], - [ ['foo:baz'], ['foo:bar', 'foo:baz'] ], - [ ['axx:first', 'foo:baz'], ['axx:first', 'foo:bar', 'foo:baz'] ], - [ [], ['axx:first', 'foo:bar', 'foo:baz'] ], - [ ['axx:first'], ['axx:first', 'foo:bar', 'foo:baz'] ], + [[], []], + [['foo:bar'], ['foo:bar']], + [['foo:baz'], ['foo:bar', 'foo:baz']], + [['axx:first', 'foo:baz'], ['axx:first', 'foo:bar', 'foo:baz']], + [[], ['axx:first', 'foo:bar', 'foo:baz']], + [['axx:first'], ['axx:first', 'foo:bar', 'foo:baz']], ]; foreach ($add_expected as $data) {