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

@ -11,6 +11,7 @@ use MailPoetVendor\Carbon\Carbon;
use MailPoetVendor\Idiorm\ORM;
class ScheduledTaskTest extends \MailPoetTest {
public $task;
public function _before() {
parent::_before();
$this->task = ScheduledTask::create();