diff --git a/tests/e2e/Adapter/Base.php b/tests/e2e/Adapter/Base.php index 9272cd002..2ac1fdf14 100644 --- a/tests/e2e/Adapter/Base.php +++ b/tests/e2e/Adapter/Base.php @@ -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) {