From: Tim Starling Date: Wed, 14 Sep 2016 23:37:06 +0000 (+1000) Subject: Re-add parser tests to the ParserTests group X-Git-Tag: 1.31.0-rc.0~5573^2 X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=commitdiff_plain;h=364f57965f8f1bbf846e5fd5019f1d0068c6c353;p=lhc%2Fweb%2Fwiklou.git Re-add parser tests to the ParserTests group 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 --- diff --git a/tests/phpunit/includes/parser/ParserIntegrationTest.php b/tests/phpunit/includes/parser/ParserIntegrationTest.php index 698bd0b1c7..b38c98d690 100644 --- a/tests/phpunit/includes/parser/ParserIntegrationTest.php +++ b/tests/phpunit/includes/parser/ParserIntegrationTest.php @@ -9,6 +9,7 @@ * * @group Database * @group Parser + * @group ParserTests * * @todo covers tags */ diff --git a/tests/phpunit/suites/ParserTestFileSuite.php b/tests/phpunit/suites/ParserTestFileSuite.php index d3129b11f3..dbee8947f9 100644 --- a/tests/phpunit/suites/ParserTestFileSuite.php +++ b/tests/phpunit/suites/ParserTestFileSuite.php @@ -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' ] ); } }