Fix undefined properties in tests [MAILPOET-2488]

This commit is contained in:
wxa
2019-12-19 22:00:05 +03:00
committed by amine-mp
parent 091e17ce0c
commit 1d757e1374
83 changed files with 283 additions and 0 deletions

View File

@ -5,6 +5,7 @@ namespace MailPoet\API\JSON\v1;
use MailPoet\WP\Functions as WPFunctions;
class AutomaticEmailsTest extends \MailPoetTest {
public $wp;
public function _before() {
$this->wp = new WPFunctions;
}