diff options
author | crupest <crupest@outlook.com> | 2021-01-19 15:38:03 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2021-01-19 15:38:03 +0800 |
commit | ee419812021f8b2e8e35997750662e56c9db613a (patch) | |
tree | e828dce4c6ba4c35ea913dcb0329e3b9f2ecb808 /BackEnd/Timeline.Tests/IntegratedTests/SearchTest.cs | |
parent | 7f815dba267fa7e5153b3312dc77a1db27c7622a (diff) | |
download | timeline-ee419812021f8b2e8e35997750662e56c9db613a.tar.gz timeline-ee419812021f8b2e8e35997750662e56c9db613a.tar.bz2 timeline-ee419812021f8b2e8e35997750662e56c9db613a.zip |
feat: Deprecate userop/createuser api and add users post api.
Diffstat (limited to 'BackEnd/Timeline.Tests/IntegratedTests/SearchTest.cs')
-rw-r--r-- | BackEnd/Timeline.Tests/IntegratedTests/SearchTest.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/BackEnd/Timeline.Tests/IntegratedTests/SearchTest.cs b/BackEnd/Timeline.Tests/IntegratedTests/SearchTest.cs index f96acfea..4979224f 100644 --- a/BackEnd/Timeline.Tests/IntegratedTests/SearchTest.cs +++ b/BackEnd/Timeline.Tests/IntegratedTests/SearchTest.cs @@ -41,10 +41,10 @@ namespace Timeline.Tests.IntegratedTests var client = await CreateClientAsAdministrator();
{
- await client.TestPostAsync("userop/createuser", new HttpCreateUserRequest { Username = "hahaha", Password = "p" });
- await client.TestPostAsync("userop/createuser", new HttpCreateUserRequest { Username = "bababa", Password = "p" });
+ await client.TestPostAsync("users", new HttpCreateUserRequest { Username = "hahaha", Password = "p" });
+ await client.TestPostAsync("users", new HttpCreateUserRequest { Username = "bababa", Password = "p" });
await client.TestPatchAsync("users/bababa", new HttpUserPatchRequest { Nickname = "hahaha" });
- await client.TestPostAsync("userop/createuser", new HttpCreateUserRequest { Username = "gagaga", Password = "p" });
+ await client.TestPostAsync("users", new HttpCreateUserRequest { Username = "gagaga", Password = "p" });
}
{
|