Fix integration tests to work with updated codeception/verify

[MAILPOET-3203]
This commit is contained in:
Rostislav Wolny
2020-10-08 13:02:47 +02:00
committed by Veljko V
parent e85b4c6fec
commit 54727ad9a2
52 changed files with 266 additions and 265 deletions

View File

@@ -82,7 +82,7 @@ class ModelTest extends \MailPoetTest {
$model->save();
$errors = $model->getErrors();
expect($errors)->hasKey(MPModel::DUPLICATE_RECORD);
expect($errors[MPModel::DUPLICATE_RECORD])->contains('Please specify a different "name".');
expect($errors[MPModel::DUPLICATE_RECORD])->stringContainsString('Please specify a different "name".');
}
public function _after() {