diff --git a/Tests/Realm.Tests/Sync/StaticQueriesTests.cs b/Tests/Realm.Tests/Sync/StaticQueriesTests.cs index afe229e8fa..094aee8a50 100644 --- a/Tests/Realm.Tests/Sync/StaticQueriesTests.cs +++ b/Tests/Realm.Tests/Sync/StaticQueriesTests.cs @@ -760,7 +760,8 @@ public void RealmObjectAPI_RealmValueLinks_AtlasToRealm(TestCaseData(obj.Id)!; - await WaitForConditionAsync(() => { + await WaitForConditionAsync(() => + { return realmValObj.RealmValueProperty.Type == RealmValueType.Null == (obj.RealmValueProperty.Type == RealmValueType.Null); }); @@ -780,8 +781,9 @@ await WaitForConditionAsync(() => { foreach (var key in obj.RealmValueDictionary.Keys) { Assert.That(realmValObj.RealmValueDictionary.ContainsKey(key)); - await WaitForConditionAsync(() => { return realmValObj.RealmValueDictionary[key].Type == RealmValueType.Null - == (obj.RealmValueDictionary[key].Type == RealmValueType.Null); + await WaitForConditionAsync(() => + { + return realmValObj.RealmValueDictionary[key].Type == RealmValueType.Null == (obj.RealmValueDictionary[key].Type == RealmValueType.Null); }); AssertEqual(realmValObj.RealmValueDictionary[key], obj.RealmValueDictionary[key]); @@ -1275,9 +1277,6 @@ public void RealmObjectAPI_MissingField_GetsDefaultValueWhenDeserialized() var collection = client.GetCollection(); await collection.DeleteManyAsync(new object()); - //var syncObjects = realm.All(); - //await syncObjects.WaitForEventAsync((sender, _) => sender.Count == 0); - return collection; }