Extract WPFunctions reset to test bootstrap

MAILPOET-5145
This commit is contained in:
Jan Jakes
2023-04-06 09:09:41 +02:00
committed by John Oleksowicz
parent 81274b1691
commit 70e6447e28
12 changed files with 3 additions and 40 deletions

View File

@@ -21,9 +21,4 @@ class FunctionsTest extends \MailPoetTest {
$resultNoRtl = $twig->render('template');
expect($resultNoRtl)->isEmpty();
}
public function _after() {
parent::_after();
WPFunctions::set(new WPFunctions);
}
}