File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -165,7 +165,7 @@ public async Task TestLogOut()
165
165
// Mock LogOutAsync to ensure it can execute its logic
166
166
mockCurrentUserController
167
167
. Setup ( obj => obj . LogOutAsync ( It . IsAny < IServiceHub > ( ) , It . IsAny < CancellationToken > ( ) ) )
168
- . CallBase ( ) ; // Use the actual LogOutAsync implementation
168
+ . Returns ( Task . CompletedTask ) ;
169
169
170
170
// Mock SessionController for session revocation
171
171
var mockSessionController = new Mock < IParseSessionController > ( ) ;
@@ -182,6 +182,7 @@ public async Task TestLogOut()
182
182
183
183
// Inject mocks into ParseClient
184
184
var client = new ParseClient ( new ServerConnectionData { Test = true } , hub ) ;
185
+ user . Bind ( client ) ;
185
186
186
187
// Act: Perform logout
187
188
await client . LogOutAsync ( CancellationToken . None ) ;
You can’t perform that action at this time.
0 commit comments