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 "Remove "@author Aaron Schulz" annotations"
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
EditPageTest.php
diff --git
a/tests/phpunit/includes/EditPageTest.php
b/tests/phpunit/includes/EditPageTest.php
index
c259a51
..
9507811
100644
(file)
--- a/
tests/phpunit/includes/EditPageTest.php
+++ b/
tests/phpunit/includes/EditPageTest.php
@@
-53,7
+53,7
@@
class EditPageTest extends MediaWikiLangTestCase {
false
],
[
false
],
[
- "An initial section with a fake heder (
bug 32
617)\n\n== Test == ??\nwtf",
+ "An initial section with a fake heder (
T34
617)\n\n== Test == ??\nwtf",
false
],
[
false
],
[
@@
-61,7
+61,7
@@
class EditPageTest extends MediaWikiLangTestCase {
"Section"
],
[
"Section"
],
[
- "== Section== \t\r\n followed by whitespace (
bug 35
051)",
+ "== Section== \t\r\n followed by whitespace (
T37
051)",
'Section',
],
];
'Section',
],
];
@@
-348,6
+348,8
@@
class EditPageTest extends MediaWikiLangTestCase {
wfGetDB( DB_MASTER )->commit( __METHOD__ );
wfGetDB( DB_MASTER )->commit( __METHOD__ );
+ $this->assertEquals( 0, DeferredUpdates::pendingUpdatesCount(), 'No deferred updates' );
+
if ( $expectedCode != EditPage::AS_BLANK_ARTICLE ) {
$latest = $page->getLatest();
$page->doDeleteArticleReal( $pageTitle );
if ( $expectedCode != EditPage::AS_BLANK_ARTICLE ) {
$latest = $page->getLatest();
$page->doDeleteArticleReal( $pageTitle );