Replace expect()->isEmpty() with verify()->empty()

codeception/verify 2.1 removed support for expect()->isEmpty() so we need
to replace it with verify()->empty().

[MAILPOET-5664]
This commit is contained in:
Rodrigo Primo
2023-10-18 16:12:00 -03:00
committed by David Remer
parent 1865fc8930
commit e4136fee8c
37 changed files with 77 additions and 77 deletions

View File

@@ -269,7 +269,7 @@ class SettingsTest extends \MailPoetTest {
$this->settings->resetCache();
verify($this->settings->get('sender')['address'])->equals('johndoeexampletestnonexistinghopefullyfreemail@gmail.com');
expect($this->settings->get('reply_to'))->isEmpty();
verify($this->settings->get('reply_to'))->empty();
}
public function testItDeactivatesReEngagementEmailsIfTrackingDisabled(): void {