mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
N°6494 - Some tests are run twice, some never
(cherry picked from commita2a0b2cd0b) (cherry picked from commit4c9ea0c9d4) # Conflicts: # tests/php-unit-tests/integration-tests/DictionariesConsistencyTest.php
This commit is contained in:
@@ -18,6 +18,9 @@ namespace Combodo\iTop\Test\UnitTest\Integration;
|
||||
use Combodo\iTop\Test\UnitTest\ItopTestCase;
|
||||
|
||||
|
||||
/**
|
||||
* @group beforeSetup
|
||||
*/
|
||||
class DictionariesConsistencyTest extends ItopTestCase
|
||||
{
|
||||
/**
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user