Issue #2282453 by Xano: Fixed strpos() does not work with TranslationWrapper.
parent
cdf25d79df
commit
32ea6a30b8
|
@ -2903,7 +2903,7 @@ abstract class WebTestBase extends TestBase {
|
||||||
if (!$message) {
|
if (!$message) {
|
||||||
$message = !$not_exists ? String::format('"@text" found', array('@text' => $text)) : String::format('"@text" not found', array('@text' => $text));
|
$message = !$not_exists ? String::format('"@text" found', array('@text' => $text)) : String::format('"@text" not found', array('@text' => $text));
|
||||||
}
|
}
|
||||||
return $this->assert($not_exists == (strpos($this->plainTextContent, $text) === FALSE), $message, $group);
|
return $this->assert($not_exists == (strpos($this->plainTextContent, (string) $text) === FALSE), $message, $group);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue