File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
dev/tests/integration/testsuite/Magento/PageBuilder/Model/Stage/Renderer Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -26,8 +26,9 @@ public function testRender()
26
26
);
27
27
$ result = $ blockRenderer ->render (['block_id ' => $ cmsBlock ->getId ()]);
28
28
$ 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 );
32
33
}
33
34
}
You can’t perform that action at this time.
0 commit comments