Skip to content

Commit f3e596a

Browse files
committed
Fix test compatibility with 4.x components
1 parent 758b2d5 commit f3e596a

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

Tests/Templating/Helper/FormHelperDivLayoutTest.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,12 @@ protected function getExtensions()
5252
]);
5353
}
5454

55-
protected function tearDown()
55+
/**
56+
* @after
57+
*/
58+
public function doTearDown()
5659
{
5760
$this->engine = null;
58-
59-
parent::tearDown();
6061
}
6162

6263
public function testStartTagHasNoActionAttributeWhenActionIsEmpty()

Tests/Templating/Helper/FormHelperTableLayoutTest.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,12 @@ protected function getExtensions()
7777
]);
7878
}
7979

80-
protected function tearDown()
80+
/**
81+
* @after
82+
*/
83+
public function doTearDown()
8184
{
8285
$this->engine = null;
83-
84-
parent::tearDown();
8586
}
8687

8788
protected function renderForm(FormView $view, array $vars = [])

0 commit comments

Comments
 (0)