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()
165165 // Mock LogOutAsync to ensure it can execute its logic
166166 mockCurrentUserController
167167 . Setup ( obj => obj . LogOutAsync ( It . IsAny < IServiceHub > ( ) , It . IsAny < CancellationToken > ( ) ) )
168- . CallBase ( ) ; // Use the actual LogOutAsync implementation
168+ . Returns ( Task . CompletedTask ) ;
169169
170170 // Mock SessionController for session revocation
171171 var mockSessionController = new Mock < IParseSessionController > ( ) ;
@@ -182,6 +182,7 @@ public async Task TestLogOut()
182182
183183 // Inject mocks into ParseClient
184184 var client = new ParseClient ( new ServerConnectionData { Test = true } , hub ) ;
185+ user . Bind ( client ) ;
185186
186187 // Act: Perform logout
187188 await client . LogOutAsync ( CancellationToken . None ) ;
You can’t perform that action at this time.
0 commit comments