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

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

[MAILPOET-5664]
This commit is contained in:
Rodrigo Primo
2023-10-18 16:02:10 -03:00
committed by David Remer
parent 5d839277d6
commit 00c5250cff
21 changed files with 68 additions and 68 deletions

View File

@@ -220,7 +220,7 @@ class CronHelperTest extends \MailPoetTest {
// random token is a string of 5 characters
$token1 = $this->cronHelper->createToken();
$token2 = $this->cronHelper->createToken();
expect($token1)->notEquals($token2);
verify($token1)->notEquals($token2);
verify(is_string($token1))->true();
verify(strlen($token1))->equals(5);
}