From 7a6a3d1ac0693f072681ae9c30aff18277e3d3ad Mon Sep 17 00:00:00 2001 From: Pierre Goiffon Date: Wed, 24 Aug 2022 14:41:32 +0200 Subject: [PATCH] Integration tests : move and comment itop-community group --- test/integration/iTopModulesPhpVersionChecklistTest.php | 7 ++++--- test/integration/iTopModulesXmlVersionChecklistTest.php | 7 ++++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/test/integration/iTopModulesPhpVersionChecklistTest.php b/test/integration/iTopModulesPhpVersionChecklistTest.php index ffc711d33..9c66bda8e 100644 --- a/test/integration/iTopModulesPhpVersionChecklistTest.php +++ b/test/integration/iTopModulesPhpVersionChecklistTest.php @@ -22,8 +22,6 @@ use utils; /** - * @group itop-community - * * @covers iTopDesignFormat * * @package Combodo\iTop\Test\UnitTest\Setup @@ -31,9 +29,12 @@ use utils; class iTopModulesPhpVersionIntegrationTest extends ItopTestCase { /** - * Verify if the datamodel.*.xml files refer to the current itop version + * Verify if `module.*.php` files contained in `datamodels/1.x` or `datamodels/2.x` refers to the current itop version * This is an integration test * + * As ess and pro targets are copying modules into datamodels/2.x this test can only be run on a community target ! + * + * @group itop-community * @group skipPostBuild * * @dataProvider iTopModulesPhpVersionProvider diff --git a/test/integration/iTopModulesXmlVersionChecklistTest.php b/test/integration/iTopModulesXmlVersionChecklistTest.php index b6dfcb289..3cdb3cc25 100644 --- a/test/integration/iTopModulesXmlVersionChecklistTest.php +++ b/test/integration/iTopModulesXmlVersionChecklistTest.php @@ -21,8 +21,6 @@ use iTopDesignFormat; /** - * @group itop-community - * * @covers iTopDesignFormat * * @package Combodo\iTop\Test\UnitTest\Setup @@ -38,9 +36,12 @@ class iTopModulesXmlVersionIntegrationTest extends ItopTestCase /** - * Verify if the datamodel.*.xml files refer to the latest version of the design + * Verify if the `datamodels/2.x/datamodel.*.xml` files refer to the latest version of the design * This is an integration test * + * As ess and pro targets are copying modules into datamodels/2.x this test can only be run on a community target ! + * + * @group itop-community * @group skipPostBuild * * @dataProvider DatamodelItopXmlVersionProvider