Actually mount sse once (#4264)
Mock server was responding with the same result many times.
This commit is contained in:
@@ -122,6 +122,7 @@ where
|
|||||||
.and(path("/v1/responses"))
|
.and(path("/v1/responses"))
|
||||||
.and(matcher)
|
.and(matcher)
|
||||||
.respond_with(sse_response(body))
|
.respond_with(sse_response(body))
|
||||||
|
.up_to_n_times(1)
|
||||||
.mount(server)
|
.mount(server)
|
||||||
.await;
|
.await;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user