From 909c3e33c00f6c3e41b08fe4099077d840f69b41 Mon Sep 17 00:00:00 2001 From: addshore Date: Fri, 7 Mar 2014 20:58:10 +0100 Subject: [PATCH] Cleanup SampleTest.php Removes stuff which isnt true Change-Id: I9696fa2e7f969e1d4bcf234a05031fc9ed784227 --- tests/phpunit/includes/SampleTest.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tests/phpunit/includes/SampleTest.php b/tests/phpunit/includes/SampleTest.php index 8516a4cea7..7e81fab51f 100644 --- a/tests/phpunit/includes/SampleTest.php +++ b/tests/phpunit/includes/SampleTest.php @@ -43,12 +43,10 @@ class TestSample extends MediaWikiLangTestCase { } /** - * If you want to run a the same test with a variety of data. use a data provider. + * If you want to run a the same test with a variety of data, use a data provider. * see: http://www.phpunit.de/manual/3.4/en/writing-tests-for-phpunit.html - * - * Note: Data providers are always called statically and outside setUp/tearDown! */ - public static function provideTitles() { + public function provideTitles() { return array( array( 'Text', NS_MEDIA, 'Media:Text' ), array( 'Text', null, 'Text' ), -- 2.20.1