Skip to content

Commit 42bce4e

Browse files
committed
Allow extra fields in aggregate results
Most operations that use ASSERT_SAME_DOCUMENT and ASSERT_SAME_DOCUMENTS should technically use ASSERT_MATCHES_DOCUMENT and ASSERT_DOCUMENTS_MATCH, respectively; however, this is the minimum change needed to satisfy new CSFLE spec tests. Related to dc1bb17
1 parent d95e762 commit 42bce4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/SpecTests/Operation.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -723,7 +723,7 @@ private function getResultAssertionTypeForCollection()
723723
return ResultExpectation::ASSERT_NOTHING;
724724
}
725725

726-
return ResultExpectation::ASSERT_SAME_DOCUMENTS;
726+
return ResultExpectation::ASSERT_DOCUMENTS_MATCH;
727727

728728
case 'bulkWrite':
729729
return ResultExpectation::ASSERT_BULKWRITE;

0 commit comments

Comments
 (0)