diff --git a/tests/e2e/Adapter/Base.php b/tests/e2e/Adapter/Base.php index 664d28bfc..815d55b84 100644 --- a/tests/e2e/Adapter/Base.php +++ b/tests/e2e/Adapter/Base.php @@ -2441,6 +2441,9 @@ public function testCreateOrUpdateDocumentsWithInplaceIncrease(): void static::getDatabase()->createDocuments($collection, $documents); + $documents[0]->setAttribute('integer', 1); + $documents[1]->setAttribute('integer', 1); + static::getDatabase()->createOrUpdateDocumentsWithInplaceIncrease( collection: $collection, attribute:'integer', @@ -2450,7 +2453,7 @@ public function testCreateOrUpdateDocumentsWithInplaceIncrease(): void $documents = static::getDatabase()->find($collection); foreach ($documents as $document) { - $this->assertEquals(10, $document->getAttribute('integer')); + $this->assertEquals(6, $document->getAttribute('integer')); } }