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:
committed by
David Remer
parent
9adbf81a78
commit
997f635d4a
@@ -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() {
|
||||
|
Reference in New Issue
Block a user