mirror of
https://github.com/silverstripe/silverstripe-behat-extension
synced 2024-06-28 15:39:48 +02:00
FIX | TestMailer uses new testsession APIs for handling state
This commit is contained in:
parent
2241f8d411
commit
defc6e572d
|
@ -94,6 +94,6 @@ class TestMailer extends BaseTestMailer
|
||||||
$state->emails = array();
|
$state->emails = array();
|
||||||
}
|
}
|
||||||
$state->emails[] = array_filter($data);
|
$state->emails[] = array_filter($data);
|
||||||
$this->testSessionEnvironment->applyState($state);
|
$this->testSessionEnvironment->saveState($state);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user