$this->assertIdentical($cached_element,$expected_element,'The correct data is cached: the stored #markup and #attached properties are not affected by #post_render_cache callbacks.');
...
...
@@ -619,6 +620,7 @@ function testDrupalRenderChildrenPostRenderCache() {
$context_3,
)
),
'#cache'=>array('tags'=>array()),
);
$dom=Html::load($cached_element['#markup']);
...
...
@@ -702,6 +704,7 @@ function testDrupalRenderChildrenPostRenderCache() {
@@ -830,6 +834,7 @@ function testDrupalRenderRenderCachePlaceholder() {
$expected_token=>$context,
),
),
'#cache'=>array('tags'=>array()),
);
$this->assertIdentical($cached_element,$expected_element,'The correct data is cached: the stored #markup and #attached properties are not affected by #post_render_cache callbacks.');
...
...
@@ -920,6 +925,7 @@ function testDrupalRenderChildElementRenderCachePlaceholder() {
$expected_token=>$context,
),
),
'#cache'=>array('tags'=>array()),
);
$this->assertIdentical($cached_element,$expected_element,'The correct data is cached for the child element: the stored #markup and #attached properties are not affected by #post_render_cache callbacks.');
...
...
@@ -944,6 +950,7 @@ function testDrupalRenderChildElementRenderCachePlaceholder() {
$expected_token=>$context,
),
),
'#cache'=>array('tags'=>array()),
);
$this->assertIdentical($cached_element,$expected_element,'The correct data is cached for the parent element: the stored #markup and #attached properties are not affected by #post_render_cache callbacks.');
...
...
@@ -972,6 +979,7 @@ function testDrupalRenderChildElementRenderCachePlaceholder() {
$expected_token=>$context,
),
),
'#cache'=>array('tags'=>array()),
);
$this->assertIdentical($cached_element,$expected_element,'The correct data is cached for the child element: the stored #markup and #attached properties are not affected by #post_render_cache callbacks.');