diff --git a/test/HttpRequestTest.cc b/test/HttpRequestTest.cc index 144d9b95..005e8e1b 100644 --- a/test/HttpRequestTest.cc +++ b/test/HttpRequestTest.cc @@ -317,10 +317,10 @@ void HttpRequestTest::testCreateRequest_with_cookie() request->setUrl("http://localhost/archives/aria2-1.0.0.tar.bz2"); SegmentHandle segment = new Segment(); - Cookie cookie1("name1", "value1", 1181473200, "/archives", "localhost", false); - Cookie cookie2("name2", "value2", 1181473200, "/archives/download", "localhost", false); - Cookie cookie3("name3", "value3", 1181473200, "/archives/download", "tt.localhost", false); - Cookie cookie4("name4", "value4", 1181473200, "/archives/download", "tt.localhost", true); + Cookie cookie1("name1", "value1", "/archives", "localhost", false); + Cookie cookie2("name2", "value2", "/archives/download", "localhost", false); + Cookie cookie3("name3", "value3", "/archives/download", "tt.localhost", false); + Cookie cookie4("name4", "value4", "/archives/download", "tt.localhost", true); request->cookieBox->add(cookie1); request->cookieBox->add(cookie2);