updated core to 7.65
This commit is contained in:
4
modules/simpletest/drupal_web_test_case.php
Executable file → Normal file
4
modules/simpletest/drupal_web_test_case.php
Executable file → Normal file
@@ -3012,7 +3012,7 @@ class DrupalWebTestCase extends DrupalTestCase {
|
||||
if (!$message) {
|
||||
$message = t('Raw "@raw" found', array('@raw' => $raw));
|
||||
}
|
||||
return $this->assert(strpos($this->drupalGetContent(), $raw) !== FALSE, $message, $group);
|
||||
return $this->assert(strpos($this->drupalGetContent(), (string) $raw) !== FALSE, $message, $group);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -3032,7 +3032,7 @@ class DrupalWebTestCase extends DrupalTestCase {
|
||||
if (!$message) {
|
||||
$message = t('Raw "@raw" not found', array('@raw' => $raw));
|
||||
}
|
||||
return $this->assert(strpos($this->drupalGetContent(), $raw) === FALSE, $message, $group);
|
||||
return $this->assert(strpos($this->drupalGetContent(), (string) $raw) === FALSE, $message, $group);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user