X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=tests%2Fcookie001.phpt;fp=tests%2Fcookie001.phpt;h=3adf8d7d890e34b91b0b5fed149ddaf5ee630a7d;hp=0000000000000000000000000000000000000000;hb=4850e3ba188215f9d0cda9e7c0e7e011b340b7c7;hpb=1cf96ccdd9eec5efd69ea474636bcb9f7ab89bb8 diff --git a/tests/cookie001.phpt b/tests/cookie001.phpt new file mode 100644 index 0000000..3adf8d7 --- /dev/null +++ b/tests/cookie001.phpt @@ -0,0 +1,31 @@ +--TEST-- +cookies empty state +--SKIPIF-- + +--FILE-- + array(), + "extras" => array(), + "flags" => 0, + "expires" => -1, + "path" => "", + "domain" => "", + "max-age" => -1, +); +var_dump($a == $c->toArray()); +var_dump($a == $o->toArray()); + +?> +DONE +--EXPECT-- +Test +bool(true) +bool(true) +DONE