We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62e81fb commit a76014fCopy full SHA for a76014f
1 file changed
Parse.Tests/UserTests.cs
@@ -165,7 +165,7 @@ public async Task TestLogOut()
165
// Mock LogOutAsync to ensure it can execute its logic
166
mockCurrentUserController
167
.Setup(obj => obj.LogOutAsync(It.IsAny<IServiceHub>(), It.IsAny<CancellationToken>()))
168
- .CallBase(); // Use the actual LogOutAsync implementation
+ .Returns(Task.CompletedTask);
169
170
// Mock SessionController for session revocation
171
var mockSessionController = new Mock<IParseSessionController>();
@@ -182,6 +182,7 @@ public async Task TestLogOut()
182
183
// Inject mocks into ParseClient
184
var client = new ParseClient(new ServerConnectionData { Test = true }, hub);
185
+ user.Bind(client);
186
187
// Act: Perform logout
188
await client.LogOutAsync(CancellationToken.None);
0 commit comments