diff options
author | crupest <crupest@outlook.com> | 2021-01-19 15:24:39 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2021-01-19 15:24:39 +0800 |
commit | fb6442f1716406c7a2da79e4a1cc42e23908d218 (patch) | |
tree | 455fbd07678b1b21a1bfa3ad7e3778b1957fd12f /BackEnd/Timeline.Tests/IntegratedTests/BookmarkTimelineTest.cs | |
parent | 208ae3f6371857e2b06cf789a640989f64f80a24 (diff) | |
download | timeline-fb6442f1716406c7a2da79e4a1cc42e23908d218.tar.gz timeline-fb6442f1716406c7a2da79e4a1cc42e23908d218.tar.bz2 timeline-fb6442f1716406c7a2da79e4a1cc42e23908d218.zip |
test: Add integrated tests for search api.
Diffstat (limited to 'BackEnd/Timeline.Tests/IntegratedTests/BookmarkTimelineTest.cs')
-rw-r--r-- | BackEnd/Timeline.Tests/IntegratedTests/BookmarkTimelineTest.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/BackEnd/Timeline.Tests/IntegratedTests/BookmarkTimelineTest.cs b/BackEnd/Timeline.Tests/IntegratedTests/BookmarkTimelineTest.cs index 99cf6d3a..23d67d44 100644 --- a/BackEnd/Timeline.Tests/IntegratedTests/BookmarkTimelineTest.cs +++ b/BackEnd/Timeline.Tests/IntegratedTests/BookmarkTimelineTest.cs @@ -34,7 +34,7 @@ namespace Timeline.Tests.IntegratedTests public async Task ShouldWork()
{
using var client = await CreateClientAsUser();
- await client.TestPostAsync("timelines", new TimelineCreateRequest { Name = "t1" });
+ await client.TestPostAsync("timelines", new HttpTimelineCreateRequest { Name = "t1" });
{
@@ -88,7 +88,7 @@ namespace Timeline.Tests.IntegratedTests public async Task TimelineGet_IsBookmarkField_ShouldWork()
{
using var client = await CreateClientAsUser();
- await client.TestPostAsync("timelines", new TimelineCreateRequest { Name = "t" });
+ await client.TestPostAsync("timelines", new HttpTimelineCreateRequest { Name = "t" });
{
var t = await client.TestGetAsync<HttpTimeline>("timelines/t");
|