aboutsummaryrefslogtreecommitdiff
path: root/BackEnd/Timeline.Tests/IntegratedTests/SearchTest.cs
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2021-01-19 15:38:03 +0800
committercrupest <crupest@outlook.com>2021-01-19 15:38:03 +0800
commitee419812021f8b2e8e35997750662e56c9db613a (patch)
treee828dce4c6ba4c35ea913dcb0329e3b9f2ecb808 /BackEnd/Timeline.Tests/IntegratedTests/SearchTest.cs
parent7f815dba267fa7e5153b3312dc77a1db27c7622a (diff)
downloadtimeline-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.cs6
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" });
}
{