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 | 5c0d0645fd2c1bfb51069d6f9079db32493f2956 (patch) | |
tree | f7dac07bb65f7be90e20426809ac542b0129f835 /BackEnd/Timeline.Tests/IntegratedTests/SearchTest.cs | |
parent | 51d0e48890069d81e383aef01e31da0a6d990e7a (diff) | |
download | timeline-5c0d0645fd2c1bfb51069d6f9079db32493f2956.tar.gz timeline-5c0d0645fd2c1bfb51069d6f9079db32493f2956.tar.bz2 timeline-5c0d0645fd2c1bfb51069d6f9079db32493f2956.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" });
}
{
|