Skip to content

Commit

Permalink
chore: delete broken test (#1911)
Browse files Browse the repository at this point in the history
Co-authored-by: Chris Pulman <chris.pulman@yahoo.com>
  • Loading branch information
TimothyMakkison and ChrisPulman authored Nov 6, 2024
1 parent da64f1f commit c302e1c
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions Refit.Tests/RestService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -290,9 +290,6 @@ public interface IQueryApi
[Get("/foo?=")]
Task EmptyQueryKeyAndValue();

[Get("/foo?&&&")]
Task QueryManyAndSymbol();

[Get("/foo?key,=value,&key1(=value1(")]
Task UnescapedQuery();

Expand Down Expand Up @@ -2375,24 +2372,6 @@ public async Task EmptyQueryKeyAndValueShouldBeEmpty()
mockHttp.VerifyNoOutstandingExpectation();
}

[Fact]
public async Task QueryAndSymbolShouldBeEmpty()
{
var mockHttp = new MockHttpMessageHandler();
var settings = new RefitSettings { HttpMessageHandlerFactory = () => mockHttp, };

mockHttp
.Expect(HttpMethod.Get, "https://github.com/foo?&&&")
.WithExactQueryString("&&&")
.Respond(HttpStatusCode.OK);

var fixture = RestService.For<IQueryApi>("https://github.com", settings);

await fixture.QueryManyAndSymbol();

mockHttp.VerifyNoOutstandingExpectation();
}

[Fact]
public async Task UnescapedQueryShouldBeEscaped()
{
Expand Down

0 comments on commit c302e1c

Please sign in to comment.