Commit 99d76cad authored by Dave Reid's avatar Dave Reid

by Dave Reid: Fixed WATCHDOG_EMERG renamed to WATCHDOG_EMERGENCY.

parent 25abbc2e
......@@ -252,7 +252,7 @@ class XMLSitemapTestHelper extends DrupalWebTestCase {
$verbose = array();
foreach ($messages as $message) {
if (in_array($message->severity, array(WATCHDOG_EMERG, WATCHDOG_ALERT, WATCHDOG_CRITICAL, WATCHDOG_ERROR, WATCHDOG_WARNING))) {
if (in_array($message->severity, array(WATCHDOG_EMERGENCY, WATCHDOG_ALERT, WATCHDOG_CRITICAL, WATCHDOG_ERROR, WATCHDOG_WARNING))) {
$this->fail($message->text);
}
$verbose[] = $message->text;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment