Fix typo in tests/includes/SampleTest.php in core
authorAlangi Derick <alangiderick@gmail.com>
Fri, 2 Nov 2018 12:39:02 +0000 (13:39 +0100)
committerD3r1ck01 <alangiderick@gmail.com>
Fri, 2 Nov 2018 12:55:09 +0000 (12:55 +0000)
Minor typo fix in comments for setUp() and provideTitles()
methods in SampleTests.php file.

Change-Id: I09e0fb041d6809509e780d22bf8419497cd50ee7

tests/phpunit/includes/SampleTest.php

index 22495d0..da6df70 100644 (file)
@@ -9,7 +9,7 @@ class SampleTest extends MediaWikiLangTestCase {
         * Anything that needs to happen before your tests should go here.
         */
        protected function setUp() {
-               // Be sure to do call the parent setup and teardown functions.
+               // Be sure to call the parent setup and teardown functions.
                // This makes sure that all the various cleanup and restorations
                // happen as they should (including the restoration for setMwGlobals).
                parent::setUp();
@@ -46,7 +46,7 @@ class SampleTest extends MediaWikiLangTestCase {
        }
 
        /**
-        * If you want to run the same test with a variety of data, use a data provider.
+        * If you want to run the same test with a variety of data, use a data provider.
         * see: https://www.phpunit.de/manual/3.4/en/writing-tests-for-phpunit.html
         */
        public static function provideTitles() {