diff options
Diffstat (limited to 'jdisc_http_service/src/test/java/com/yahoo/jdisc/http/server/jetty/HttpServerTest.java')
-rw-r--r-- | jdisc_http_service/src/test/java/com/yahoo/jdisc/http/server/jetty/HttpServerTest.java | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/jdisc_http_service/src/test/java/com/yahoo/jdisc/http/server/jetty/HttpServerTest.java b/jdisc_http_service/src/test/java/com/yahoo/jdisc/http/server/jetty/HttpServerTest.java index 1fb1f3658ee..6416d11f523 100644 --- a/jdisc_http_service/src/test/java/com/yahoo/jdisc/http/server/jetty/HttpServerTest.java +++ b/jdisc_http_service/src/test/java/com/yahoo/jdisc/http/server/jetty/HttpServerTest.java @@ -353,21 +353,13 @@ public class HttpServerTest { .setDiscard(true) .setDomain(".localhost") .setHttpOnly(true) - .setMaxAge(5000, TimeUnit.SECONDS) .setPath("/foopath") .setSecure(true) .setVersion(2))); driver.client().get("/status.html") .expectStatusCode(is(OK)) - .expectHeader("Set-Cookie", is("foo=bar; " + - "Max-Age=5000; " + - "Path=\"/foopath\"; " + - "Domain=.localhost; " + - "Secure; HTTPOnly; " + - "Comment=\"comment yeah\"; " + - "Version=1; " + - "CommentURL=\"http://comment.yes/\"; " + - "Discard")); + .expectHeader("Set-Cookie", + is("foo=bar; Path=/foopath; Domain=.localhost; Secure; HTTPOnly")); assertThat(driver.close(), is(true)); } |