Commit 3b3680e4 authored by alexpott's avatar alexpott

Issue #2549045 by pwolanin, neclimdul: Update Tests can't run with --die-on-fail

parent e27e962b
......@@ -246,6 +246,9 @@ protected function runUpdates() {
* {@inheritdoc}
*/
protected function rebuildAll() {
// We know the rebuild causes notices, so don't exit on failure.
$die_on_fail = $this->dieOnFail;
$this->dieOnFail = FALSE;
parent::rebuildAll();
// Remove the notices we get due to the menu link rebuild prior to running
......@@ -257,6 +260,7 @@ protected function rebuildAll() {
$this->results['#exception']--;
}
}
$this->dieOnFail = $die_on_fail;
}
}
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