Fix flakey scheduler test

[MAILPOET-2896]
This commit is contained in:
Pavel Dohnal
2020-06-09 09:42:20 +02:00
committed by Veljko V
parent 6e7b7b5da8
commit b1cd785dfe
3 changed files with 16 additions and 3 deletions

View File

@@ -36,7 +36,7 @@ class ScheduledTask extends Model {
public function __construct() {
parent::__construct();
$this->wp = new WPFunctions();
$this->wp = WPFunctions::get();
}
public function subscribers() {