Open papafe opened 5 months ago
How to reproduce:
https://github.com/realm/realm-dotnet/blob/521d915aed3399b5d835200e00be7c9c2594c37b/Tests/Realm.Tests/Database/NotificationTests.cs#L881-L922
container.Items.SubscribeForNotifications((s, c) => { });
Result: the test does not pass because a Replace notification is called when we modify an object, and the penultimate assertion is false
Replace
➤ PM Bot commented:
Jira ticket: RNET-1152
I think this is due to the caching we do for notifications
How to reproduce:
https://github.com/realm/realm-dotnet/blob/521d915aed3399b5d835200e00be7c9c2594c37b/Tests/Realm.Tests/Database/NotificationTests.cs#L881-L922
container.Items.SubscribeForNotifications((s, c) => { });
after the other subscriptionsResult: the test does not pass because a
Replace
notification is called when we modify an object, and the penultimate assertion is false