Skip to content

Commit 1b7d8b7

Browse files
authored
Merge branch 'main' into fix-tenant
2 parents 4b1aec4 + 740063b commit 1b7d8b7

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

tests/e2e/Adapter/Base.php

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16610,13 +16610,18 @@ public function testDeleteBulkDocuments(): void
1661016610
$this->assertCount(10, $docs);
1661116611

1661216612
/**
16613-
* Test Short select query, test pagination as well
16613+
* Test Short select query, test pagination as well, Add order to select
1661416614
*/
16615+
$selects = ['$internalId', '$id', '$collection', '$permissions', '$updatedAt'];
16616+
1661516617
$this->assertCount(2, static::getDatabase()->deleteDocuments(
1661616618
'bulk_delete',
1661716619
[
16618-
Query::select(['$internalId', '$id', '$collection', '$permissions', '$updatedAt']),
16620+
Query::select([...$selects, '$createdAt']),
1661916621
Query::cursorAfter($docs[6]),
16622+
Query::greaterThan('$createdAt', '2000-01-01'),
16623+
Query::orderAsc('$createdAt'),
16624+
Query::orderAsc(),
1662016625
Query::limit(2),
1662116626
],
1662216627
1

0 commit comments

Comments
 (0)