2
0
forked from Wavyzz/dolibarr

Fix sql for postgresql

This commit is contained in:
Laurent Destailleur
2020-12-23 16:13:45 +01:00
parent d3f352fe10
commit 9007e7be2a
2 changed files with 7 additions and 4 deletions

View File

@@ -130,7 +130,7 @@ class RestAPIUserTest extends PHPUnit\Framework\TestCase
print __METHOD__." curl_error_no: ".$result['curl_error_no']."\n";
$this->assertEquals($result['curl_error_no'], '');
$object=json_decode($result['content'], true);
$this->assertNotNull($object, "Parsing of json result must no be null");
$this->assertNotNull($object, "Parsing of json result must not be null");
$this->assertEquals('200', $object['success']['code']);
$this->api_key = $object['success']['token'];