Commit b374ddba authored by alexpott's avatar alexpott

Issue #2637030 by klausi: Assertions with BrowserTestBase are reported in the...

Issue #2637030 by klausi: Assertions with BrowserTestBase are reported in the wrong file and line number
parent 28b1de18
......@@ -808,24 +808,6 @@ protected function getOptions($select, Element $container = NULL) {
return $options;
}
/**
* Override to use Mink exceptions.
*
* @return mixed
* Either a test result or NULL.
*
* @throws \PHPUnit_Framework_AssertionFailedError
* When exception was thrown inside the test.
*/
protected function runTest() {
try {
return parent::runTest();
}
catch (Exception $e) {
throw new \PHPUnit_Framework_AssertionFailedError($e->getMessage());
}
}
/**
* Installs Drupal into the Simpletest site.
*/
......
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