Re-add parser tests to the ParserTests group
authorTim Starling <tstarling@wikimedia.org>
Wed, 14 Sep 2016 23:37:06 +0000 (09:37 +1000)
committerTim Starling <tstarling@wikimedia.org>
Wed, 14 Sep 2016 23:39:20 +0000 (09:39 +1000)
It was omitted due to the new way in which parser test TestCase objects
are constructed. Should fix Jenkins double-execution of parser tests.

Change-Id: I8131c3b13f2e08f784bce46fee16051c14761304

tests/phpunit/includes/parser/ParserIntegrationTest.php
tests/phpunit/suites/ParserTestFileSuite.php

index 698bd0b..b38c98d 100644 (file)
@@ -9,6 +9,7 @@
  *
  * @group Database
  * @group Parser
+ * @group ParserTests
  *
  * @todo covers tags
  */
index d3129b1..dbee894 100644 (file)
@@ -18,7 +18,7 @@ class ParserTestFileSuite extends PHPUnit_Framework_TestSuite {
 
                foreach ( $this->ptFileInfo['tests'] as $test ) {
                        $this->addTest( new ParserIntegrationTest( $runner, $fileName, $test ),
-                               [ 'Database', 'Parser' ] );
+                               [ 'Database', 'Parser', 'ParserTests' ] );
                }
        }