Skip to content

Commit 0bbfa14

Browse files
committed
Merge branch 'MC-1405' of github.com:magento-trigger/magento2-page-builder into MC-1405
2 parents 9e6148b + 3223ae4 commit 0bbfa14

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

dev/tests/integration/testsuite/Magento/PageBuilder/Model/Stage/Renderer/CmsStaticBlockTest.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,9 @@ public function testRender()
2626
);
2727
$result = $blockRenderer->render(['block_id' => $cmsBlock->getId()]);
2828
$this->assertArrayHasKey('content', $result);
29-
$this->assertNotContains('<script>', $result['content']);
30-
$this->assertContains('<p>Config value: "http://example.com/".</p>', $result['content']);
31-
$this->assertContains('<p>Custom variable: "HTML Value".</p>', $result['content']);
29+
$content = $result['content'];
30+
$this->assertNotContains('<script>', $content);
31+
$this->assertContains('<p>Config value: "http://example.com/".</p>', $content);
32+
$this->assertContains('<p>Custom variable: "HTML Value".</p>', $content);
3233
}
3334
}

0 commit comments

Comments
 (0)