aboutsummaryrefslogtreecommitdiff
path: root/BackEnd/Timeline.Tests/IntegratedTests2/TimelinePostTest2.cs
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2022-04-09 18:53:52 +0800
committercrupest <crupest@outlook.com>2022-04-09 18:53:52 +0800
commit0aa43ef4c6724f672453676a0c688cd80097dad7 (patch)
tree5bbb0d736b385b9d0c6254f7e006161e0080de8f /BackEnd/Timeline.Tests/IntegratedTests2/TimelinePostTest2.cs
parent4db131899145b7aca0ea5fd36984cf1542c9619b (diff)
downloadtimeline-0aa43ef4c6724f672453676a0c688cd80097dad7.tar.gz
timeline-0aa43ef4c6724f672453676a0c688cd80097dad7.tar.bz2
timeline-0aa43ef4c6724f672453676a0c688cd80097dad7.zip
...
Diffstat (limited to 'BackEnd/Timeline.Tests/IntegratedTests2/TimelinePostTest2.cs')
-rw-r--r--BackEnd/Timeline.Tests/IntegratedTests2/TimelinePostTest2.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/BackEnd/Timeline.Tests/IntegratedTests2/TimelinePostTest2.cs b/BackEnd/Timeline.Tests/IntegratedTests2/TimelinePostTest2.cs
index 9aaae21a..993e9353 100644
--- a/BackEnd/Timeline.Tests/IntegratedTests2/TimelinePostTest2.cs
+++ b/BackEnd/Timeline.Tests/IntegratedTests2/TimelinePostTest2.cs
@@ -124,6 +124,7 @@ namespace Timeline.Tests.IntegratedTests2
{
using var client = CreateClientAsUser();
await client.TestSendAsync(HttpMethod.Delete, "v2/timelines/user/hello/posts/1", expectedStatusCode: HttpStatusCode.NoContent);
+ await client.TestSendAsync(HttpMethod.Get, "v2/timelines/user/hello/posts/1", expectedStatusCode: HttpStatusCode.Gone);
}
[Fact]