diff options
author | crupest <crupest@outlook.com> | 2021-03-06 19:32:38 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2021-03-06 21:25:57 +0800 |
commit | 24c272403ba360f27acd68c2702c678a86063964 (patch) | |
tree | f2b8d2ea2a82dcada1e987b347b02afafc0efe0c /BackEnd/Timeline.Tests/IntegratedTests/SearchTest.cs | |
parent | 736ba716cfb87bc0e8e4979825a1693dc6010f9c (diff) | |
download | timeline-24c272403ba360f27acd68c2702c678a86063964.tar.gz timeline-24c272403ba360f27acd68c2702c678a86063964.tar.bz2 timeline-24c272403ba360f27acd68c2702c678a86063964.zip |
refactor: Rename HttpCreateUserRequest to HttpUserPostRequest.
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 7782ed82..10a2f115 100644 --- a/BackEnd/Timeline.Tests/IntegratedTests/SearchTest.cs +++ b/BackEnd/Timeline.Tests/IntegratedTests/SearchTest.cs @@ -39,10 +39,10 @@ namespace Timeline.Tests.IntegratedTests var client = await CreateClientAsAdministrator();
{
- await client.TestPostAsync("users", new HttpCreateUserRequest { Username = "hahaha", Password = "p" });
- await client.TestPostAsync("users", new HttpCreateUserRequest { Username = "bababa", Password = "p" });
+ await client.TestPostAsync("users", new HttpUserPostRequest { Username = "hahaha", Password = "p" });
+ await client.TestPostAsync("users", new HttpUserPostRequest { Username = "bababa", Password = "p" });
await client.TestPatchAsync("users/bababa", new HttpUserPatchRequest { Nickname = "hahaha" });
- await client.TestPostAsync("users", new HttpCreateUserRequest { Username = "gagaga", Password = "p" });
+ await client.TestPostAsync("users", new HttpUserPostRequest { Username = "gagaga", Password = "p" });
}
{
|