#452416 by bjaspan: Reformat status reporting code slightly to allow breakpoints in debuggers.

merge-requests/26/head
Angie Byron 2009-05-20 22:16:38 +00:00
parent 9c79816c4f
commit 33eefeb784
1 changed files with 8 additions and 1 deletions

View File

@ -191,7 +191,14 @@ class DrupalWebTestCase {
// Return to testing prefix.
$db_prefix = $current_db_prefix;
return $status == 'pass' ? TRUE : FALSE;
// We do not use a ternary operator here to allow a breakpoint on
// test failure.
if ($status == 'pass') {
return TRUE;
}
else {
return FALSE;
}
}
/**