dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "[MCR] Introduce SlotRoleHandler and SlotRoleRegistry"
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
page
/
WikiPageDbTestBase.php
diff --git
a/tests/phpunit/includes/page/WikiPageDbTestBase.php
b/tests/phpunit/includes/page/WikiPageDbTestBase.php
index
439bd38
..
f7e5bd1
100644
(file)
--- a/
tests/phpunit/includes/page/WikiPageDbTestBase.php
+++ b/
tests/phpunit/includes/page/WikiPageDbTestBase.php
@@
-135,6
+135,9
@@
abstract class WikiPageDbTestBase extends MediaWikiLangTestCase {
}
$updater->saveRevision( CommentStoreComment::newUnsavedComment( "testing" ) );
}
$updater->saveRevision( CommentStoreComment::newUnsavedComment( "testing" ) );
+ if ( !$updater->wasSuccessful() ) {
+ $this->fail( $updater->getStatus()->getWikiText() );
+ }
return $page;
}
return $page;
}