X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=tests%2Fclient021.phpt;h=e819003347b5df71909eae234e8e3e1f1bc84cfd;hp=ef649093e077d243b11379f2df031d4581155478;hb=9a02b1a9ef8dc62a241148405be8058e0df4250e;hpb=a2aa970a129880a247baea08927f0d84188a0b19 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));