core/modules/block/src/Tests/BlockViewBuilderTest.php | 2 +- core/modules/filter/src/FilterProcessResult.php | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/core/modules/block/src/Tests/BlockViewBuilderTest.php b/core/modules/block/src/Tests/BlockViewBuilderTest.php index 506ce51..d4f99f3 100644 --- a/core/modules/block/src/Tests/BlockViewBuilderTest.php +++ b/core/modules/block/src/Tests/BlockViewBuilderTest.php @@ -151,7 +151,7 @@ protected function verifyRenderCacheHandling() { // Test that entities with caching disabled do not generate a cache entry. $build = $this->getBlockRenderArray(); - $this->assertTrue(isset($build['#cache']) && array_keys($build['#cache']) == array('tags'), 'The render array element of uncacheable blocks is not cached, but does have cache tags set.'); + $this->assertTrue(isset($build['#cache']) && array_keys($build['#cache']) == array('tags', 'max-age'), 'The render array element of uncacheable blocks is not cached, but does have cache tags & max-age set.'); // Enable block caching. $this->setBlockCacheConfig(array( diff --git a/core/modules/filter/src/FilterProcessResult.php b/core/modules/filter/src/FilterProcessResult.php index 548faea..67e49fa 100644 --- a/core/modules/filter/src/FilterProcessResult.php +++ b/core/modules/filter/src/FilterProcessResult.php @@ -83,7 +83,6 @@ class FilterProcessResult extends BubbleableMetadata { * The text as processed by a text filter. */ public function __construct($processed_text) { - parent::__construct(); $this->processedText = $processed_text; }