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>
This commit is contained in:
parent
ea9032ceaa
commit
b75bc0f75c
@ -11,7 +11,7 @@
|
|||||||
{
|
{
|
||||||
"test": "0002",
|
"test": "0002",
|
||||||
"received": [
|
"received": [
|
||||||
"foo=bar; Expires=Fri, 07 Aug 2019 08:04:19 GMT"
|
"foo=bar; Expires=Fri, 07 Aug 2119 08:04:19 GMT"
|
||||||
],
|
],
|
||||||
"sent": [
|
"sent": [
|
||||||
{ "name": "foo", "value": "bar" }
|
{ "name": "foo", "value": "bar" }
|
||||||
@ -21,7 +21,7 @@
|
|||||||
"test": "0003",
|
"test": "0003",
|
||||||
"received": [
|
"received": [
|
||||||
"foo=bar; Expires=Fri, 07 Aug 2007 08:04:19 GMT",
|
"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": [
|
"sent": [
|
||||||
{ "name": "foo2", "value": "bar2" }
|
{ "name": "foo2", "value": "bar2" }
|
||||||
@ -710,7 +710,7 @@
|
|||||||
{
|
{
|
||||||
"test": "COMMA0006",
|
"test": "COMMA0006",
|
||||||
"received": [
|
"received": [
|
||||||
"foo=bar; Expires=Fri, 07 Aug 2019 08:04:19 GMT"
|
"foo=bar; Expires=Fri, 07 Aug 2119 08:04:19 GMT"
|
||||||
],
|
],
|
||||||
"sent": [
|
"sent": [
|
||||||
{ "name": "foo", "value": "bar" }
|
{ "name": "foo", "value": "bar" }
|
||||||
@ -719,7 +719,7 @@
|
|||||||
{
|
{
|
||||||
"test": "COMMA0007",
|
"test": "COMMA0007",
|
||||||
"received": [
|
"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": [
|
"sent": [
|
||||||
{ "name": "foo", "value": "bar" }
|
{ "name": "foo", "value": "bar" }
|
||||||
|
Loading…
Reference in New Issue
Block a user