diff --git a/core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php b/core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php index 4d86f8d..54bf180 100644 --- a/core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php +++ b/core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php @@ -2345,6 +2345,9 @@ abstract class WebTestBase extends TestBase { * The expected themed output string. * @param $message * (optional) An assertion message. + * + * @return + * TRUE on pass, FALSE on fail. */ protected function assertThemeOutput($callback, array $variables = array(), $expected, $message = '') { $output = theme($callback, $variables); @@ -2357,7 +2360,7 @@ abstract class WebTestBase extends TestBase { $message = '%callback rendered correctly.'; } $message = format_string($message, array('%callback' => 'theme_' . $callback . '()')); - $this->assertIdentical($output, $expected, $message); + return $this->assertIdentical($output, $expected, $message); } /**