File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
tests/MongoDB.Driver.Tests/Linq/Linq3Implementation/Jira Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -47,12 +47,12 @@ public void FindOneAndUpdate_should_use_correct_discriminator()
4747 new FindOneAndUpdateOptions < Lion > { IsUpsert = true } ) ;
4848
4949 var result = collection . AsQueryable ( ) . As ( BsonDocumentSerializer . Instance ) . Single ( ) ;
50- result . Should ( ) . Be (
50+ result . Should ( ) . BeEquivalentTo (
5151 """
5252 {
5353 _id : 1,
54- Name : "Lion1" ,
55- _t : ["Animal", "Cat", "Lion"]
54+ _t : ["Animal", "Cat", "Lion"] ,
55+ Name : "Lion1"
5656 }
5757 """ ) ;
5858 }
@@ -72,12 +72,12 @@ public void UpdateOne_should_use_correct_discriminator()
7272 new UpdateOptions < Lion > { IsUpsert = true } ) ;
7373
7474 var result = collection . AsQueryable ( ) . As ( BsonDocumentSerializer . Instance ) . Single ( ) ;
75- result . Should ( ) . Be (
75+ result . Should ( ) . BeEquivalentTo (
7676 """
7777 {
7878 _id : 2,
79- Name : "Lion2" ,
80- _t : ["Animal", "Cat", "Lion"]
79+ _t : ["Animal", "Cat", "Lion"] ,
80+ Name : "Lion2"
8181 }
8282 """ ) ;
8383 }
You can’t perform that action at this time.
0 commit comments