Fix flakey scheduler test
[MAILPOET-2896]
This commit is contained in:
@@ -36,7 +36,7 @@ class ScheduledTask extends Model {
|
||||
|
||||
public function __construct() {
|
||||
parent::__construct();
|
||||
$this->wp = new WPFunctions();
|
||||
$this->wp = WPFunctions::get();
|
||||
}
|
||||
|
||||
public function subscribers() {
|
||||
|
Reference in New Issue
Block a user