Skip to content

Commit

Permalink
Fix PHPStan
Browse files Browse the repository at this point in the history
  • Loading branch information
PineappleIOnic committed Dec 6, 2024
1 parent 4d6fb4c commit 6d88050
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/e2e/Adapter/Base.php
Original file line number Diff line number Diff line change
Expand Up @@ -15923,8 +15923,8 @@ public function testDeleteBulkDocuments(): void
$oneHourAgo = (new \DateTime())->sub(new \DateInterval('PT1H'));

try {
$this->getDatabase()->withRequestTimestamp($oneHourAgo, function () use ($document) {
return $this->getDatabase()->deleteDocuments($document->getCollection());
$this->getDatabase()->withRequestTimestamp($oneHourAgo, function () {
return $this->getDatabase()->deleteDocuments('bulk_delete');
});
$this->fail('Failed to throw exception');
} catch (ConflictException $e) {
Expand Down

0 comments on commit 6d88050

Please sign in to comment.