Skip to content

Commit 0979a23

Browse files
committed
(#258) Corrected reload logic in test. No change to core code.
1 parent 41b49ab commit 0979a23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/CommunityToolkit.Datasync.Client.Test/Offline/Integration_Pull_Tests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ public async Task PullAsync_WithLocalData_Works()
152152
await this.context.MoviesWithLocalData.PushAsync();
153153

154154
// Reload the local data from the server and check that the local data is still there
155-
await this.context.Entry(t1).ReloadAsync();
155+
await this.context.Entry(t2).ReloadAsync();
156156
t2.UserRating.Should().Be(5);
157157
t2.Title.Should().Be("New Title");
158158

0 commit comments

Comments
 (0)