summaryrefslogtreecommitdiff
path: root/tests/phpunit/includes/FauxRequestTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/phpunit/includes/FauxRequestTest.php')
-rw-r--r--tests/phpunit/includes/FauxRequestTest.php15
1 files changed, 0 insertions, 15 deletions
diff --git a/tests/phpunit/includes/FauxRequestTest.php b/tests/phpunit/includes/FauxRequestTest.php
deleted file mode 100644
index 9f3aa11d..00000000
--- a/tests/phpunit/includes/FauxRequestTest.php
+++ /dev/null
@@ -1,15 +0,0 @@
-<?php
-
-class FauxRequestTest extends MediaWikiTestCase {
-
- public function testGetSetHeader() {
- $value = 'test/test';
-
- $request = new FauxRequest();
- $request->setHeader( 'Content-Type', $value );
-
- $this->assertEquals( $request->getHeader( 'Content-Type' ), $value );
- $this->assertEquals( $request->getHeader( 'CONTENT-TYPE' ), $value );
- $this->assertEquals( $request->getHeader( 'content-type' ), $value );
- }
-}