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

@@ -114,7 +114,7 @@ class RendererTest extends \MailPoetTest {
$renderer->render('non-existing-template.html', ['somekey' => 'someval']);
self::fail('Twig exception was not rethrown');
} catch (\Exception $e) {
expect($e->getMessage())->contains($exceptionMessage);
expect($e->getMessage())->stringContainsString($exceptionMessage);
expect($e->getMessage())->notEquals($exceptionMessage);
}
}