Update integration tests verification method call

[MAILPOET-3203]
This commit is contained in:
Rostislav Wolny
2020-10-21 15:02:26 +02:00
committed by Veljko V
parent 8804ef6703
commit 8d6855a0f0

View File

@@ -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'));
}
}