summaryrefslogtreecommitdiff
path: root/tests/phpunit/includes/ExternalStoreTest.php
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2013-08-12 09:28:15 +0200
committerPierre Schmitz <pierre@archlinux.de>2013-08-12 09:28:15 +0200
commit08aa4418c30cfc18ccc69a0f0f9cb9e17be6c196 (patch)
tree577a29fb579188d16003a209ce2a2e9c5b0aa2bd /tests/phpunit/includes/ExternalStoreTest.php
parentcacc939b34e315b85e2d72997811eb6677996cc1 (diff)
Update to MediaWiki 1.21.1
Diffstat (limited to 'tests/phpunit/includes/ExternalStoreTest.php')
-rw-r--r--tests/phpunit/includes/ExternalStoreTest.php32
1 files changed, 0 insertions, 32 deletions
diff --git a/tests/phpunit/includes/ExternalStoreTest.php b/tests/phpunit/includes/ExternalStoreTest.php
deleted file mode 100644
index 92ec7344..00000000
--- a/tests/phpunit/includes/ExternalStoreTest.php
+++ /dev/null
@@ -1,32 +0,0 @@
-<?php
-/**
- * External Store tests
- */
-
-class ExternalStoreTest extends MediaWikiTestCase {
- private $saved_wgExternalStores;
-
- function setUp() {
- global $wgExternalStores;
- $this->saved_wgExternalStores = $wgExternalStores ;
- }
-
- function tearDown() {
- global $wgExternalStores;
- $wgExternalStores = $this->saved_wgExternalStores ;
- }
-
- function testExternalStoreDoesNotFetchIncorrectURL() {
- global $wgExternalStores;
- $wgExternalStores = true;
-
- # Assertions for r68900
- $this->assertFalse(
- ExternalStore::fetchFromURL( 'http://' ) );
- $this->assertFalse(
- ExternalStore::fetchFromURL( 'ftp.wikimedia.org' ) );
- $this->assertFalse(
- ExternalStore::fetchFromURL( '/super.txt' ) );
- }
-}
-