From b5d98c8a1ef9e731f845d7a41210bc1e73e30a8f Mon Sep 17 00:00:00 2001 From: Artem Date: Thu, 10 Sep 2020 14:26:33 +0700 Subject: [PATCH] ISSUE#48 fix --- src/Codeception/Verify/Expectations/ExpectAny.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Codeception/Verify/Expectations/ExpectAny.php b/src/Codeception/Verify/Expectations/ExpectAny.php index 09af500..3fd22b8 100644 --- a/src/Codeception/Verify/Expectations/ExpectAny.php +++ b/src/Codeception/Verify/Expectations/ExpectAny.php @@ -278,13 +278,13 @@ public function jsonStringNotToEqualJsonString($expectedJson, string $message = public function stringToContainString($needle, string $message = ''): self { - Expect::String($this->actual)->notToContainString($needle, $message); + Expect::String($this->actual)->toContainString($needle, $message); return $this; } public function stringToContainStringIgnoringCase($needle, string $message = ''): self { - Expect::String($this->actual)->notToContainStringIgnoringCase($needle, $message); + Expect::String($this->actual)->toContainStringIgnoringCase($needle, $message); return $this; }