Skip to content

Commit

Permalink
MDL-40842 behat: Reverting to backtrace catchall as xdebug warnings w…
Browse files Browse the repository at this point in the history
…ere being missed
  • Loading branch information
Sam Hemelryk committed Aug 1, 2013
1 parent 4c2892c commit 81387ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tests/behat/behat_hooks.php
Expand Up @@ -250,7 +250,7 @@ public function i_look_for_exceptions() {
// PHP debug messages.
$phperrorxpath = "//div[@data-rel='phpdebugmessage']";
// Any other backtrace.
$othersxpath = "//ul[@data-rel='backtrace']";
$othersxpath = "//*[contains(., ': call to ')])[1]";

$xpaths = array($exceptionsxpath, $debuggingxpath, $phperrorxpath, $othersxpath);
$joinedxpath = implode(' | ', $xpaths);
Expand Down

0 comments on commit 81387ca

Please sign in to comment.