From 8d6855a0f0de97c0244dcf47a5a11d94331f1bbb Mon Sep 17 00:00:00 2001 From: Rostislav Wolny Date: Wed, 21 Oct 2020 15:02:26 +0200 Subject: [PATCH] Update integration tests verification method call [MAILPOET-3203] --- tests/integration/Cron/CronHelperTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/Cron/CronHelperTest.php b/tests/integration/Cron/CronHelperTest.php index 7cbbfaef6c..eccf760780 100644 --- a/tests/integration/Cron/CronHelperTest.php +++ b/tests/integration/Cron/CronHelperTest.php @@ -254,7 +254,7 @@ class CronHelperTest extends \MailPoetTest { public function testItGetsSubsiteUrlOnMultisiteEnvironment() { if ((boolean)getenv('MULTISITE') === true) { - expect($this->cronHelper->getSiteUrl())->contains(getenv('WP_TEST_MULTISITE_SLUG')); + expect($this->cronHelper->getSiteUrl())->stringContainsString((string)getenv('WP_TEST_MULTISITE_SLUG')); } }