Replace expect()->false() with verify()->false()

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

[MAILPOET-5664]
This commit is contained in:
Rodrigo Primo
2023-10-18 15:30:49 -03:00
committed by David Remer
parent 9adbf81a78
commit 997f635d4a
73 changed files with 226 additions and 226 deletions

View File

@ -111,7 +111,7 @@ class FormsTest extends \MailPoetTest {
$response = $this->endpoint->saveEditor($form);
verify($response->status)->equals(APIResponse::STATUS_OK);
expect($response->meta['is_widget'])->false();
verify($response->meta['is_widget'])->false();
verify($response->data['name'])->equals('Updated form');
verify($response->data['settings']['segments_selected_by'])->equals('admin');
}