From 24c272403ba360f27acd68c2702c678a86063964 Mon Sep 17 00:00:00 2001 From: crupest Date: Sat, 6 Mar 2021 19:32:38 +0800 Subject: refactor: Rename HttpCreateUserRequest to HttpUserPostRequest. --- BackEnd/Timeline.Tests/IntegratedTests/SearchTest.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'BackEnd/Timeline.Tests/IntegratedTests/SearchTest.cs') 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" }); } { -- cgit v1.2.3