diff --git a/test/setup/iTopDesignFormat/iTopDesignFormatTest.php b/test/setup/iTopDesignFormat/iTopDesignFormatTest.php index e6a663949..4c0e79de8 100644 --- a/test/setup/iTopDesignFormat/iTopDesignFormatTest.php +++ b/test/setup/iTopDesignFormat/iTopDesignFormatTest.php @@ -45,7 +45,8 @@ class iTopDesignFormatTest extends ItopTestCase $oInputDesignFormat = static::GetItopFormatFromString($sInputXml); $bResult = $oInputDesignFormat->Convert($sTargetVersion); $aErrors = $oInputDesignFormat->GetErrors(); - $this->assertCount($iExpectedErrors, $aErrors); + $this->assertCount($iExpectedErrors, $aErrors, + 'errors in input format: '.var_export($aErrors, true)); if ($iExpectedErrors > 0) { $this->assertFalse($bResult); $this->assertEquals($sFirstErrorMessage, $aErrors[0]);