Cleanup SampleTest.php
authoraddshore <addshorewiki@gmail.com>
Fri, 7 Mar 2014 19:58:10 +0000 (20:58 +0100)
committeraddshore <addshorewiki@gmail.com>
Fri, 7 Mar 2014 19:58:10 +0000 (20:58 +0100)
Removes stuff which isnt true

Change-Id: I9696fa2e7f969e1d4bcf234a05031fc9ed784227

tests/phpunit/includes/SampleTest.php

index 8516a4c..7e81fab 100644 (file)
@@ -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' ),