|
|
@ -319,7 +319,7 @@ class AccessTest extends KernelTestBase { |
|
|
|
self::assertSame($expected_content, $build['content']); |
|
|
|
self::assertSame($expected_content, $build['content']); |
|
|
|
$expected_cache = [ |
|
|
|
$expected_cache = [ |
|
|
|
'contexts' => ['user'], |
|
|
|
'contexts' => ['user'], |
|
|
|
'tags' => ['tag_from_blockAccess'], |
|
|
|
'tags' => ['tag_from_blockAccess', 'tag_twig_tweak_test_foo_plugin'], |
|
|
|
'max-age' => 35, |
|
|
|
'max-age' => 35, |
|
|
|
]; |
|
|
|
]; |
|
|
|
self::assertSame($expected_cache, $build['#cache']); |
|
|
|
self::assertSame($expected_cache, $build['#cache']); |
|
|
|