X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=tests%2Fclient021.phpt;h=e819003347b5df71909eae234e8e3e1f1bc84cfd;hb=01751b935246b4483a50cbfca959de221e353085;hp=ef649093e077d243b11379f2df031d4581155478;hpb=ab1eba311be2f8aab98eed7a6164e79d69b402b2;p=m6w6%2Fext-http diff --git a/tests/client021.phpt b/tests/client021.phpt index ef64909..e819003 100644 --- a/tests/client021.phpt +++ b/tests/client021.phpt @@ -110,8 +110,10 @@ dump($tmpfile); }); -(new http\Client("curl", "test"))->configure(["share_cookies" => false]); -$request->setOptions(["cookiestore" => null]); +$c = new http\Client("curl", "test"); +$c->configure(array("share_cookies" => false)); +$c = null; +$request->setOptions(array("cookiestore" => null)); server("cookie.inc", function($port) use($request, $tmpfile) { $request->setOptions(array("port" => $port));