From 83866f57192fa54125595592cc09210fbc5bbfdd Mon Sep 17 00:00:00 2001 From: Stef Heyenrath Date: Tue, 11 Feb 2020 08:55:06 +0100 Subject: [PATCH] Example: RejectOnMatch --- examples/WireMock.Net.Console.Net452.Classic/MainApp.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/WireMock.Net.Console.Net452.Classic/MainApp.cs b/examples/WireMock.Net.Console.Net452.Classic/MainApp.cs index a1874422..3a4f60d6 100644 --- a/examples/WireMock.Net.Console.Net452.Classic/MainApp.cs +++ b/examples/WireMock.Net.Console.Net452.Classic/MainApp.cs @@ -299,7 +299,7 @@ namespace WireMock.Net.ConsoleApplication server .Given(Request.Create() - .WithPath("/needs-a-key") + .WithPath("/does-need-a-key") .UsingGet() .WithHeader("api-key", "*", MatchBehaviour.AcceptOnMatch) .UsingAnyMethod()) @@ -309,7 +309,7 @@ namespace WireMock.Net.ConsoleApplication server .Given(Request.Create() - .WithPath("/needs-a-key") + .WithPath("/doesnot-need-a-key") .UsingGet() .WithHeader("api-key", "*", MatchBehaviour.RejectOnMatch) .UsingAnyMethod())