diff options
author | crupest <crupest@outlook.com> | 2021-04-27 19:29:20 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2021-04-27 19:29:20 +0800 |
commit | a665f5d894539cae5f4188e4a72ea9634b8c4ed0 (patch) | |
tree | 03aa9d578e13213018c178ba47755167e2ccc2d4 /BackEnd/Timeline.Tests/IntegratedTests/TokenTest.cs | |
parent | 89e3c2103fa478ebc659a1b914e75d5138c06c08 (diff) | |
download | timeline-a665f5d894539cae5f4188e4a72ea9634b8c4ed0.tar.gz timeline-a665f5d894539cae5f4188e4a72ea9634b8c4ed0.tar.bz2 timeline-a665f5d894539cae5f4188e4a72ea9634b8c4ed0.zip |
refactor: ...
Diffstat (limited to 'BackEnd/Timeline.Tests/IntegratedTests/TokenTest.cs')
-rw-r--r-- | BackEnd/Timeline.Tests/IntegratedTests/TokenTest.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/BackEnd/Timeline.Tests/IntegratedTests/TokenTest.cs b/BackEnd/Timeline.Tests/IntegratedTests/TokenTest.cs index 7206dab8..4d4835ca 100644 --- a/BackEnd/Timeline.Tests/IntegratedTests/TokenTest.cs +++ b/BackEnd/Timeline.Tests/IntegratedTests/TokenTest.cs @@ -92,8 +92,8 @@ namespace Timeline.Tests.IntegratedTests {
// create a user for test
var userService = scope.ServiceProvider.GetRequiredService<IUserService>();
- var id = await userService.GetUserIdByUsername("user1");
- await userService.ModifyUser(id, new ModifyUserParams { Password = "user1pw" });
+ var id = await userService.GetUserIdByUsernameAsync("user1");
+ await userService.ModifyUserAsync(id, new ModifyUserParams { Password = "user1pw" });
}
await client.TestPostAssertErrorAsync(VerifyTokenUrl,
|