aboutsummaryrefslogtreecommitdiffstats
path: root/tests/phpunit/includes/TestUser.php
diff options
context:
space:
mode:
authorAmir Sarabadani <Ladsgroup@gmail.com>2019-08-14 23:25:00 +0200
committerJames D. Forrester <jforrester@wikimedia.org>2019-08-14 23:44:22 +0200
commit4b80ca45f77898d478d5ecf70ae3a882108900c0 (patch)
tree8771d78d741bb486c8ac3afbcdd80034cc5bbd70 /tests/phpunit/includes/TestUser.php
parent428cae772941778edebc97274769a620ec0faea7 (diff)
downloadmediawikicore-4b80ca45f77898d478d5ecf70ae3a882108900c0.tar.gz
mediawikicore-4b80ca45f77898d478d5ecf70ae3a882108900c0.zip
Drop last bits of oracle
Undefined constant Change-Id: I66f17a7647bdcf254695dd0d3a0d49d41a35fff3
Diffstat (limited to 'tests/phpunit/includes/TestUser.php')
-rw-r--r--tests/phpunit/includes/TestUser.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/phpunit/includes/TestUser.php b/tests/phpunit/includes/TestUser.php
index 773bd519ab77..ca2e99fc6aa9 100644
--- a/tests/phpunit/includes/TestUser.php
+++ b/tests/phpunit/includes/TestUser.php
@@ -24,9 +24,7 @@ class TestUser {
private function assertNotReal() {
global $wgDBprefix;
- if ( $wgDBprefix !== MediaWikiTestCase::DB_PREFIX &&
- $wgDBprefix !== MediaWikiTestCase::ORA_DB_PREFIX
- ) {
+ if ( $wgDBprefix !== MediaWikiTestCase::DB_PREFIX ) {
throw new MWException( "Can't create user on real database" );
}
}