N°3091 iTopComposerTest : change deprecated PHPUnit method call

This commit is contained in:
Pierre Goiffon
2022-04-22 14:42:12 +02:00
parent 8e6e2432d3
commit d0ba0d193b

View File

@@ -40,7 +40,7 @@ class iTopComposerTest extends ItopTestCase
public function testIsTestDir($sDirName, $bIsTest)
{
$isTestDir = iTopComposer::IsTestDir($sDirName);
$this->assertInternalType('int', $isTestDir);
$this->assertIsInt($isTestDir);
if (true === $bIsTest) {
$this->assertTrue(($isTestDir > 0));
} else {