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 | 9494c9717f0d9983ec1c8db092387fef7199b00d (patch) | |
tree | cea8e25b7bded0833b3e4c6a5c1c018785cd3c30 /BackEnd/Timeline.Tests/IntegratedTests/BookmarkTimelineTest.cs | |
parent | 667f14149f32756a80018ead27102c63270644f4 (diff) | |
download | timeline-9494c9717f0d9983ec1c8db092387fef7199b00d.tar.gz timeline-9494c9717f0d9983ec1c8db092387fef7199b00d.tar.bz2 timeline-9494c9717f0d9983ec1c8db092387fef7199b00d.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");
|