Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
26 | public function testShouldRenderChildTemplateWithOverriddenVariables(): void |
||
27 | { |
||
28 | $output = $this->renderTemplate('page.twig'); |
||
29 | |||
30 | $this->assertContains('<title>page_title</title>', $output); |
||
31 | $this->assertContains('<h1>page_title</h1>', $output); |
||
32 | $this->assertContains('<p>page_content</p>', $output); |
||
33 | $this->assertContains('<p>base_footer</p>', $output); |
||
34 | } |
||
36 |