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 "Fix DatabaseMysqlBase.php IDEA errors"
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
TestUser.php
diff --git
a/tests/phpunit/includes/TestUser.php
b/tests/phpunit/includes/TestUser.php
index
754568d
..
96b2251
100644
(file)
--- a/
tests/phpunit/includes/TestUser.php
+++ b/
tests/phpunit/includes/TestUser.php
@@
-28,7
+28,9
@@
class TestUser {
private function assertNotReal() {
global $wgDBprefix;
private function assertNotReal() {
global $wgDBprefix;
- if ( $wgDBprefix !== MediaWikiTestCase::DB_PREFIX && $wgDBprefix !== MediaWikiTestCase::ORA_DB_PREFIX ) {
+ if ( $wgDBprefix !== MediaWikiTestCase::DB_PREFIX &&
+ $wgDBprefix !== MediaWikiTestCase::ORA_DB_PREFIX
+ ) {
throw new MWException( "Can't create user on real database" );
}
}
throw new MWException( "Can't create user on real database" );
}
}