From: addshore Date: Fri, 7 Mar 2014 19:58:10 +0000 (+0100) Subject: Cleanup SampleTest.php X-Git-Tag: 1.31.0-rc.0~16684^2 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dcompta/comptes/journal.php?a=commitdiff_plain;h=909c3e33c00f6c3e41b08fe4099077d840f69b41;p=lhc%2Fweb%2Fwiklou.git Cleanup SampleTest.php Removes stuff which isnt true Change-Id: I9696fa2e7f969e1d4bcf234a05031fc9ed784227 --- 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' ),