Skip to content

Commit

Permalink
Merge 8bc0951 into 1.2.3
Browse files Browse the repository at this point in the history
Signed-off-by: Violeta Georgieva <[email protected]>
  • Loading branch information
violetagg committed Jan 22, 2025
2 parents 4bca96e + 8bc0951 commit 5c13d79
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -875,11 +875,13 @@ void testDeferredUri() {

@ParameterizedTest
@ValueSource(booleans = {true, false})
@SuppressWarnings("CollectionUndefinedEquality")
void testDeferredCookie(boolean provideEmptyPublisher) {
disposableServer =
createServer()
.host("localhost")
.route(r -> r.get("/", (req, res) -> {
// Suppressed "CollectionUndefinedEquality", the CharSequence is String
Set<Cookie> cookies = req.cookies().get("testDeferredCookie");
return cookies != null ?
res.sendString(Mono.just(cookies.iterator().next().value())) :
Expand Down

0 comments on commit 5c13d79

Please sign in to comment.