diff options
Diffstat (limited to 'luni/src')
-rw-r--r-- | luni/src/test/java/libcore/java/net/OldCookieHandlerTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/luni/src/test/java/libcore/java/net/OldCookieHandlerTest.java b/luni/src/test/java/libcore/java/net/OldCookieHandlerTest.java index 6992cae..0e11d50 100644 --- a/luni/src/test/java/libcore/java/net/OldCookieHandlerTest.java +++ b/luni/src/test/java/libcore/java/net/OldCookieHandlerTest.java @@ -41,6 +41,7 @@ public class OldCookieHandlerTest extends TestCase { CookieHandler.setDefault(mch); MockWebServer server = new MockWebServer(); + server.play(); server.enqueue(new MockResponse().addHeader("Set-Cookie2: a=\"android\"; " + "Comment=\"this cookie is delicious\"; " + "CommentURL=\"http://google.com/\"; " @@ -51,7 +52,6 @@ public class OldCookieHandlerTest extends TestCase { + "Port=\"80,443," + server.getPort() + "\"; " + "Secure; " + "Version=\"1\"")); - server.play(); URLConnection connection = server.getUrl("/path/foo").openConnection(); connection.getContent(); |