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

@@ -271,7 +271,7 @@ class CronHelperTest extends \MailPoetTest {
public function testItAllowsSettingCustomCronUrl() {
$filter = function($url) {
expect($url)->contains('&endpoint=cron');
expect($url)->stringContainsString('&endpoint=cron');
return 'http://custom_cron_url';
};
add_filter('mailpoet_cron_request_url', $filter);