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

@@ -32,7 +32,7 @@ class AutomatedLatestContentTest extends \MailPoetTest {
$revisionPostType = get_post_type_object('revision');
$this->assertInstanceOf(\WP_Post_Type::class, $revisionPostType);
verify($revisionPostType->exclude_from_search)->true(); // phpcs:ignore Squiz.NamingConventions.ValidVariableName.MemberNotCamelCaps
expect(isset($response->data['revision']))->false();
verify(isset($response->data['revision']))->false();
}
public function testItGetTerms() {