From c84b69a11b8aa9e39ce52fd54ad87307863c4ebe Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Fri, 2 Sep 2016 10:16:06 -0700 Subject: [PATCH] Let a few unit tests actually be unit tests MediaWikiTestCase is a terrible terrible thing with dumb overhead Change-Id: I2a73a0f2819ed7e73b57642b7969036c2db2c991 --- tests/phpunit/includes/utils/FileContentsHasherTest.php | 2 +- tests/phpunit/includes/utils/MWCryptHashTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/phpunit/includes/utils/FileContentsHasherTest.php b/tests/phpunit/includes/utils/FileContentsHasherTest.php index 2de4bffbe6..0ee4c1342d 100644 --- a/tests/phpunit/includes/utils/FileContentsHasherTest.php +++ b/tests/phpunit/includes/utils/FileContentsHasherTest.php @@ -3,7 +3,7 @@ /** * @covers FileContentsHasherTest */ -class FileContentsHasherTest extends MediaWikiTestCase { +class FileContentsHasherTest extends PHPUnit_Framework_TestCase { public function provideSingleFile() { return array_map( function ( $file ) { diff --git a/tests/phpunit/includes/utils/MWCryptHashTest.php b/tests/phpunit/includes/utils/MWCryptHashTest.php index 4c85c3dc79..905d14ca09 100644 --- a/tests/phpunit/includes/utils/MWCryptHashTest.php +++ b/tests/phpunit/includes/utils/MWCryptHashTest.php @@ -4,7 +4,7 @@ * @group Hash */ -class MWCryptHashTest extends MediaWikiTestCase { +class MWCryptHashTest extends PHPUnit_Framework_TestCase { public function testHashLength() { if ( MWCryptHash::hashAlgo() !== 'whirlpool' ) { -- 2.20.1