dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
775ccf3
)
Fix "UTPage" creation in tests
author
Andrew Garrett
<agarrett@wikimedia.org>
Mon, 10 Mar 2014 02:04:53 +0000
(13:04 +1100)
committer
Hoo man
<hoo@online.de>
Tue, 22 Apr 2014 17:52:20 +0000
(17:52 +0000)
Change-Id: If414c633a3abb6019f9d677b70e6bc790c0c241d
tests/phpunit/MediaWikiTestCase.php
patch
|
blob
|
history
diff --git
a/tests/phpunit/MediaWikiTestCase.php
b/tests/phpunit/MediaWikiTestCase.php
index
4d64d05
..
1572cb0
100644
(file)
--- a/
tests/phpunit/MediaWikiTestCase.php
+++ b/
tests/phpunit/MediaWikiTestCase.php
@@
-429,7
+429,7
@@
abstract class MediaWikiTestCase extends PHPUnit_Framework_TestCase {
//Make 1 page with 1 revision
$page = WikiPage::factory( Title::newFromText( 'UTPage' ) );
- if (
!
$page->getId() == 0 ) {
+ if ( $page->getId() == 0 ) {
$page->doEditContent(
new WikitextContent( 'UTContent' ),
'UTPageSummary',