Skip to content

Commit 149bc2c

Browse files
committed
Changed expected cutdownvalue as ArangoDB's response text is different since 1.4.0.
This renders the client incompatible to ArangoDB versions <1.4.0
1 parent 56e841e commit 149bc2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/TransactionTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ function () {
340340
} catch (ServerException $e) {
341341
}
342342
$details = $e->getDetails();
343-
$expectedCutDownMessage = "cannot save document: unique constraint violated";
343+
$expectedCutDownMessage = "unique constraint violated";
344344
$len = strlen($expectedCutDownMessage);
345345
$this->assertTrue(
346346
$e->getCode() == 400 && substr(

0 commit comments

Comments
 (0)