Skip to content

Commit c302e1c

Browse files
chore: delete broken test (#1911)
Co-authored-by: Chris Pulman <[email protected]>
1 parent da64f1f commit c302e1c

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

Refit.Tests/RestService.cs

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -290,9 +290,6 @@ public interface IQueryApi
290290
[Get("/foo?=")]
291291
Task EmptyQueryKeyAndValue();
292292

293-
[Get("/foo?&&&")]
294-
Task QueryManyAndSymbol();
295-
296293
[Get("/foo?key,=value,&key1(=value1(")]
297294
Task UnescapedQuery();
298295

@@ -2375,24 +2372,6 @@ public async Task EmptyQueryKeyAndValueShouldBeEmpty()
23752372
mockHttp.VerifyNoOutstandingExpectation();
23762373
}
23772374

2378-
[Fact]
2379-
public async Task QueryAndSymbolShouldBeEmpty()
2380-
{
2381-
var mockHttp = new MockHttpMessageHandler();
2382-
var settings = new RefitSettings { HttpMessageHandlerFactory = () => mockHttp, };
2383-
2384-
mockHttp
2385-
.Expect(HttpMethod.Get, "https://github.com/foo?&&&")
2386-
.WithExactQueryString("&&&")
2387-
.Respond(HttpStatusCode.OK);
2388-
2389-
var fixture = RestService.For<IQueryApi>("https://github.com", settings);
2390-
2391-
await fixture.QueryManyAndSymbol();
2392-
2393-
mockHttp.VerifyNoOutstandingExpectation();
2394-
}
2395-
23962375
[Fact]
23972376
public async Task UnescapedQueryShouldBeEscaped()
23982377
{

0 commit comments

Comments
 (0)