forked from Wavyzz/dolibarr
Fix travis
This commit is contained in:
@@ -80,7 +80,7 @@ class RestAPIDocumentTest extends AbstractRestAPITest
|
||||
echo __METHOD__.' curl_error_no: '.$result['curl_error_no']."\n";
|
||||
$object = json_decode($result['content'], true);
|
||||
$this->assertNotNull($object, 'Parsing of json result must not be null');
|
||||
$this->assertEquals('400', $result['http_code'], 'Test to push a document on a non existing dir does not return 400');
|
||||
$this->assertEquals(400, $result['http_code'], 'Test to push a document on a non existing dir does not return 400');
|
||||
$this->assertEquals('400', (empty($object['error']['code']) ? '' : $object['error']['code']), 'Test to push a document on a non existing dir does not return 400');
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user