Commit e5436615 authored by andrei.dincu's avatar andrei.dincu
Browse files

Issue #2249723 by andrei.dincu: Replace simpletest_verbose() with...

Issue #2249723 by andrei.dincu: Replace simpletest_verbose() with Drupal\simpletest\TestBase::verbose()
parent 422f1ce9
...@@ -322,7 +322,7 @@ class XmlSitemapTestHelper extends WebTestBase { ...@@ -322,7 +322,7 @@ class XmlSitemapTestHelper extends WebTestBase {
* @todo Remove when http://drupal.org/node/800426 is fixed. * @todo Remove when http://drupal.org/node/800426 is fixed.
*/ */
protected function verbose($verbose_message, $message = 'Verbose message') { protected function verbose($verbose_message, $message = 'Verbose message') {
if ($id = simpletest_verbose($verbose_message)) { if ($id = parent::verbose($verbose_message)) {
$url = file_create_url($this->originalFileDirectory . '/simpletest/verbose/' . get_class($this) . '-' . $id . '.html'); $url = file_create_url($this->originalFileDirectory . '/simpletest/verbose/' . get_class($this) . '-' . $id . '.html');
$this->error(l($message, $url, array('attributes' => array('target' => '_blank'))), 'User notice'); $this->error(l($message, $url, array('attributes' => array('target' => '_blank'))), 'User notice');
} }
......
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