Extract WPFunctions reset to test bootstrap
MAILPOET-5145
This commit is contained in:
committed by
John Oleksowicz
parent
81274b1691
commit
70e6447e28
@@ -56,11 +56,6 @@ class SendPreviewControllerTest extends \MailPoetTest {
|
||||
$this->newsletter = $newsletter;
|
||||
}
|
||||
|
||||
public function _after() {
|
||||
parent::_after();
|
||||
WPFunctions::set(new WPFunctions());
|
||||
}
|
||||
|
||||
public function testItCanSendAPreview() {
|
||||
$mailer = $this->makeEmpty(Mailer::class, [
|
||||
'send' => Expected::once(
|
||||
|
Reference in New Issue
Block a user