AtPriority

Stef Heyenrath
2019-08-12 11:08:19 +02:00
parent 2584c36579
commit c419caaffa

@@ -48,8 +48,8 @@ server
.Given( .Given(
Request.Create() Request.Create()
.WithPath("/*") .WithPath("/*")
.AtPriority(10)
) )
.AtPriority(10)
.RespondWith( .RespondWith(
Response.Create() Response.Create()
.WithProxy("http://otherhost.com") .WithProxy("http://otherhost.com")
@@ -60,8 +60,8 @@ server
.Given( .Given(
Request.Create() Request.Create()
.WithPath("/api/override/123") .WithPath("/api/override/123")
.AtPriority(1)
) )
.AtPriority(1)
.RespondWith( .RespondWith(
Response.Create() Response.Create()
.WithStatusCode(503) .WithStatusCode(503)