Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c2892c
)
MDL-40842 behat: Reverting to backtrace catchall as xdebug warnings were being missed
author
Sam Hemelryk
<sam@moodle.com>
Thu, 1 Aug 2013 05:03:25 +0000
(17:03 +1200)
committer
Sam Hemelryk
<sam@moodle.com>
Thu, 1 Aug 2013 05:03:25 +0000
(17:03 +1200)
lib/tests/behat/behat_hooks.php
patch
|
blob
|
blame
|
history
diff --git
a/lib/tests/behat/behat_hooks.php
b/lib/tests/behat/behat_hooks.php
index
f487c8f
..
bbbe7cc
100644
(file)
--- a/
lib/tests/behat/behat_hooks.php
+++ b/
lib/tests/behat/behat_hooks.php
@@
-250,7
+250,7
@@
class behat_hooks extends behat_base {
// 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);