Skip to content

Commit

Permalink
Expect loggedout
Browse files Browse the repository at this point in the history
  • Loading branch information
nirinchev committed Nov 30, 2023
1 parent 64218c9 commit 23c6635
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tests/Realm.Tests/Sync/UserManagementTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1107,7 +1107,7 @@ public void UserLogOut_RaisesChanged()
try
{
Assert.That(s, Is.EqualTo(user));
Assert.That(user.State, Is.EqualTo(UserState.Removed));
Assert.That(user.State, Is.EqualTo(UserState.LoggedOut));
tcs.TrySetResult();
}
catch (Exception ex)
Expand All @@ -1120,7 +1120,7 @@ public void UserLogOut_RaisesChanged()

await tcs.Task;

Assert.That(user.State, Is.EqualTo(UserState.Removed));
Assert.That(user.State, Is.EqualTo(UserState.LoggedOut));
});
}

Expand Down

0 comments on commit 23c6635

Please sign in to comment.