add detailed info inside StatusTest.php

This commit is contained in:
odain
2020-08-05 14:25:59 +02:00
parent 2493fd57b2
commit 66d6db5174

View File

@@ -60,7 +60,7 @@ class StatusTest extends ItopTestCase {
$this->assertEquals(0, $aResponseDecoded['code'], 'Code is not 0. ' . $sAdditionnalInfo);
//Check message
$this->assertArrayHasKey('message', $aResponseDecoded, 'JSON does not have a message\' field. ' . $sAdditionnalInfo);
$this->assertEmpty($aResponseDecoded['message'], 'Message is not empty. \' . $sAdditionnalInfo);
$this->assertEmpty($aResponseDecoded['message'], 'Message is not empty. ' . $sAdditionnalInfo);
}
}