Skip to content

Commit

Permalink
Additional coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaliumhexacyanoferrat committed Jan 4, 2024
1 parent 1d45c75 commit 5b21982
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Testing/Acceptance/Modules/Reflection/ResultTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

namespace GenHTTP.Testing.Acceptance.Modules.Reflection
{

[TestClass]
public sealed class ResultTests
{
Expand All @@ -29,13 +30,14 @@ public async Task TestResponseCanBeModified()
{
var result = new Result<MyPayload>(new("Hello World!"))
.Status(ResponseStatus.Accepted)
.Status(202, "Accepted Custom")
.Type(new(ContentType.TextRichText))
.Modified(DateTime.UtcNow)
.Expires(DateTime.UtcNow)
.Header("X-Custom", "Value")
.Cookie(new("Cookie", "Value"))
.Encoding("my-encoding");


var inline = Inline.Create()
.Get(() => result);

Expand Down

0 comments on commit 5b21982

Please sign in to comment.