summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@qt.io>2017-08-07 16:47:19 +0200
committerThiago Macieira <thiago.macieira@intel.com>2017-08-07 23:16:10 +0000
commit3e379bcc799edb6a78bc8cea093a278dbe32f33c (patch)
tree3e0ab598a99a28f5beb66bd26dec11293a379066
parentdf6f538391a32781762288e9aac16aaa288e6957 (diff)
Fix failing network cookie jar tests
The test verifies that a cookie with a date in the future is not "expired" and will be sent to the server. This test started failing on August 7th 2017 when the test case "0003" with it's cookie expiring August 7th 2017 started ... expiring ;-) Bumped all suspicious cookie test cases by a hundred years. Change-Id: I7c09069ec4999e2ea0aae7b2a2819cced0fd6a99 Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@qt.io> (cherry picked from commit b75bc0f75c09b192dba68449b009cdf175519dbd) Reviewed-by: Sergio Ahumada <sahumada@texla.cl>
-rw-r--r--tests/auto/network/access/qnetworkcookiejar/parser.json8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/auto/network/access/qnetworkcookiejar/parser.json b/tests/auto/network/access/qnetworkcookiejar/parser.json
index de342e311b..8761fe93b0 100644
--- a/tests/auto/network/access/qnetworkcookiejar/parser.json
+++ b/tests/auto/network/access/qnetworkcookiejar/parser.json
@@ -11,7 +11,7 @@
{
"test": "0002",
"received": [
- "foo=bar; Expires=Fri, 07 Aug 2019 08:04:19 GMT"
+ "foo=bar; Expires=Fri, 07 Aug 2119 08:04:19 GMT"
],
"sent": [
{ "name": "foo", "value": "bar" }
@@ -21,7 +21,7 @@
"test": "0003",
"received": [
"foo=bar; Expires=Fri, 07 Aug 2007 08:04:19 GMT",
- "foo2=bar2; Expires=Fri, 07 Aug 2017 08:04:19 GMT"
+ "foo2=bar2; Expires=Fri, 07 Aug 2117 08:04:19 GMT"
],
"sent": [
{ "name": "foo2", "value": "bar2" }
@@ -710,7 +710,7 @@
{
"test": "COMMA0006",
"received": [
- "foo=bar; Expires=Fri, 07 Aug 2019 08:04:19 GMT"
+ "foo=bar; Expires=Fri, 07 Aug 2119 08:04:19 GMT"
],
"sent": [
{ "name": "foo", "value": "bar" }
@@ -719,7 +719,7 @@
{
"test": "COMMA0007",
"received": [
- "foo=bar; Expires=Fri 07 Aug 2019 08:04:19 GMT, baz=qux"
+ "foo=bar; Expires=Fri 07 Aug 2119 08:04:19 GMT, baz=qux"
],
"sent": [
{ "name": "foo", "value": "bar" }