N°6494 - Some tests are run twice, some never

(cherry picked from commit a2a0b2cd0b)

(cherry picked from commit 4c9ea0c9d4)

# Conflicts:
#	tests/php-unit-tests/integration-tests/DictionariesConsistencyTest.php
This commit is contained in:
Pierre Goiffon
2023-07-06 15:28:32 +02:00
parent aa1834170b
commit 264a8cd70a
3 changed files with 8 additions and 3 deletions

View File

@@ -18,6 +18,9 @@ namespace Combodo\iTop\Test\UnitTest\Integration;
use Combodo\iTop\Test\UnitTest\ItopTestCase;
/**
* @group beforeSetup
*/
class DictionariesConsistencyTest extends ItopTestCase
{
/**

View File

@@ -15,7 +15,7 @@ use PHPUnit\Exception;
*
* @package Combodo\iTop\Test\UnitTest\Setup
*/
class TestForITopDesignFormatClass extends ItopTestCase
class iTopDesignFormatChecklistTest extends ItopTestCase
{
protected function setUp(): void
{
@@ -47,7 +47,7 @@ class TestForITopDesignFormatClass extends ItopTestCase
$aErrors[] = "cannot retrieve itop_design datamodel version in $sDataModelFile:1";
continue;
}
$aDatamodelCurrentVersions[$sVersion] = $sVersion;
}
}
@@ -159,4 +159,4 @@ class TestForITopDesignFormatClass extends ItopTestCase
}
return $aDataModelFiles;
}
}
}

View File

@@ -16,6 +16,7 @@
stopOnRisky="false"
stopOnSkipped="false"
verbose="true"
printerClass="Sempro\PHPUnitPrettyPrinter\PrettyPrinter"
>
<php>
@@ -23,6 +24,7 @@
<ini name="display_errors" value="On"/>
<ini name="log_errors" value="On"/>
<ini name="html_errors" value="Off"/>
<env name="PHPUNIT_PRETTY_PRINT_PROGRESS" value="true"/>
</php>
<testsuites>