Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
abnegate committed Jan 22, 2025
1 parent c9170c8 commit fb3fc21
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions tests/e2e/Adapter/Base.php
Original file line number Diff line number Diff line change
Expand Up @@ -2387,17 +2387,13 @@ public function testCreateOrUpdateDocumentsWithIncrease(): void
$this->assertEquals(6, $document->getAttribute('integer'));
}

$documents = static::getDatabase()->createOrUpdateDocumentsWithIncrease(
static::getDatabase()->createOrUpdateDocumentsWithIncrease(
collection: $collection,
attribute:'integer',
value: -1,
documents: $documents
);

foreach ($documents as $document) {
$this->assertEquals(5, $document->getAttribute('integer'));
}

$documents = static::getDatabase()->find($collection);

foreach ($documents as $document) {
Expand Down

0 comments on commit fb3fc21

Please sign in to comment.