mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
N°3091 iTopComposerTest : change deprecated PHPUnit method call
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user