X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;ds=sidebyside;f=tests%2Ffactory.phpt;h=4267e3650308c63fa0e5623aa97ee5e6630f7a56;hb=efdbb46bf78df0d34936c536bd78b05abadd3a0d;hp=d80bc82ef43afaaa2cf0d5a78ab38f80114d1c4c;hpb=eebe0f3e8947ecb407451d20aef0611cfcedfdac;p=m6w6%2Fext-http diff --git a/tests/factory.phpt b/tests/factory.phpt index d80bc82..4267e36 100644 --- a/tests/factory.phpt +++ b/tests/factory.phpt @@ -3,28 +3,28 @@ factory --SKIPIF-- --FILE-- "curl")); -$r = $f->createRequest(); +$r = $f->createClient(); $p = $f->createPool(); $s = $f->createDataShare(); @@ -33,9 +33,9 @@ var_dump( $f->getDriver() ); -foreach (array("Request", "Pool", "DataShare") as $type) { +foreach (array("Client", "Pool", "DataShare") as $type) { try { - var_dump((new http\Request\Factory(array("driver" => "nonexistant")))->{"create$type"}()); + var_dump((new http\Client\Factory(array("driver" => "nonexistant")))->{"create$type"}()); } catch (Exception $e) { echo $e->getMessage(), "\n"; } @@ -49,14 +49,14 @@ array(4) { [0]=> string(9) "MyFactory" [1]=> - string(9) "MyRequest" + string(8) "MyClient" [2]=> string(6) "MyPool" [3]=> string(7) "MyShare" } string(4) "curl" -requests are not supported by this driver +clients are not supported by this driver pools are not supported by this driver datashares are not supported by this driver Done