aboutsummaryrefslogtreecommitdiff
path: root/BackEnd/Timeline.Tests/IntegratedTests/SearchTest.cs
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2021-03-06 23:04:13 +0800
committerGitHub <noreply@github.com>2021-03-06 23:04:13 +0800
commitf7bf0b6609ac21165c8bd5502c0ec2b1a51bf618 (patch)
tree59507331750831118e7caa071a10e1cb8fc1e627 /BackEnd/Timeline.Tests/IntegratedTests/SearchTest.cs
parent736ba716cfb87bc0e8e4979825a1693dc6010f9c (diff)
parent8f09e3172f249a9f5d229040415a0569e9d1c01b (diff)
downloadtimeline-f7bf0b6609ac21165c8bd5502c0ec2b1a51bf618.tar.gz
timeline-f7bf0b6609ac21165c8bd5502c0ec2b1a51bf618.tar.bz2
timeline-f7bf0b6609ac21165c8bd5502c0ec2b1a51bf618.zip
Merge pull request #347 from crupest/markdown
Markdown post auto translate data url.
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 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" });
}
{