/needs-a-key

This commit is contained in:
Stef Heyenrath
2020-02-14 16:34:52 +01:00
parent 4c01ef4838
commit f4861d9bab

View File

@@ -299,7 +299,7 @@ namespace WireMock.Net.ConsoleApplication
server
.Given(Request.Create()
.WithPath("/does-need-a-key")
.WithPath("/needs-a-key")
.UsingGet()
.WithHeader("api-key", "*", MatchBehaviour.AcceptOnMatch)
.UsingAnyMethod())
@@ -309,7 +309,7 @@ namespace WireMock.Net.ConsoleApplication
server
.Given(Request.Create()
.WithPath("/doesnot-need-a-key")
.WithPath("/needs-a-key")
.UsingGet()
.WithHeader("api-key", "*", MatchBehaviour.RejectOnMatch)
.UsingAnyMethod())