@@ -642,7 +642,7 @@ public function testCreateUpdateGetAndDeleteDocumentWithRevisionCheck()
642
642
static ::assertInstanceOf (\Exception::class, $ e );
643
643
static ::assertEquals (412 , $ e ->getCode ());
644
644
static ::assertEquals (1200 , $ e ->getServerCode ());
645
- static ::assertEquals ('conflict ' , $ e ->getMessage ());
645
+ static ::assertEquals ('conflict, _rev values do not match ' , $ e ->getMessage ());
646
646
$ resultingDocument1 = $ documentHandler ->get ($ this ->collection ->getName (), $ documentId );
647
647
648
648
static ::assertEquals (
@@ -689,7 +689,7 @@ public function testCreateUpdateGetAndDeleteDocumentWithRevisionCheck()
689
689
static ::assertInstanceOf (\Exception::class, $ e , 'Delete should have raised an exception here ' );
690
690
static ::assertEquals (412 , $ e ->getCode ());
691
691
static ::assertEquals (1200 , $ e ->getServerCode ());
692
- static ::assertEquals ('conflict ' , $ e ->getMessage ());
692
+ static ::assertEquals ('conflict, _rev values do not match ' , $ e ->getMessage ());
693
693
unset ($ e );
694
694
695
695
$ response = $ documentHandler ->remove ($ resultingDocument3 , ['policy ' => 'error ' ]);
@@ -750,7 +750,7 @@ public function testMoreCreateUpdateGetAndDeleteDocumentWithRevisionCheck()
750
750
static ::assertInstanceOf (\Exception::class, $ e );
751
751
static ::assertEquals (412 , $ e ->getCode ());
752
752
static ::assertEquals (1200 , $ e ->getServerCode ());
753
- static ::assertEquals ('conflict ' , $ e ->getMessage ());
753
+ static ::assertEquals ('conflict, _rev values do not match ' , $ e ->getMessage ());
754
754
$ resultingDocument1 = $ documentHandler ->get ($ this ->collection ->getName (), $ documentId );
755
755
756
756
static ::assertEquals ($ resultingDocument1 ->someAttribute , 'someValue2 ' );
@@ -797,7 +797,7 @@ public function testMoreCreateUpdateGetAndDeleteDocumentWithRevisionCheck()
797
797
static ::assertInstanceOf (\Exception::class, $ e , 'Delete should have raised an exception here ' );
798
798
static ::assertEquals (412 , $ e ->getCode ());
799
799
static ::assertEquals (1200 , $ e ->getServerCode ());
800
- static ::assertEquals ('conflict ' , $ e ->getMessage ());
800
+ static ::assertEquals ('conflict, _rev values do not match ' , $ e ->getMessage ());
801
801
unset ($ e );
802
802
803
803
$ response = $ documentHandler ->remove ($ resultingDocument3 , ['policy ' => 'error ' ]);
@@ -923,7 +923,7 @@ public function testCreateSetNullAttributeUpdateGetAndDeleteDocumentWithRevision
923
923
static ::assertInstanceOf (\Exception::class, $ e , 'Delete should have raised an exception here ' );
924
924
static ::assertEquals (412 , $ e ->getCode ());
925
925
static ::assertEquals (1200 , $ e ->getServerCode ());
926
- static ::assertEquals ('conflict ' , $ e ->getMessage ());
926
+ static ::assertEquals ('conflict, _rev values do not match ' , $ e ->getMessage ());
927
927
unset ($ e );
928
928
929
929
$ response = $ documentHandler ->remove ($ resultingDocument3 , ['policy ' => 'error ' ]);
0 commit comments