X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=tests%2Fsrc%2Fpharext%2FTaskTest.php;h=247b2e5e1e926580ab841cd4b73d735d9beeca28;hb=76847a186d4960506c2e6607bc44e922a69a68b1;hp=cb1137786124ade2f9ad7e1c94de69e43a05fb97;hpb=7ccf382e89737f430fb8da72cef752dc2252f324;p=pharext%2Fpharext diff --git a/tests/src/pharext/TaskTest.php b/tests/src/pharext/TaskTest.php index cb11377..247b2e5 100644 --- a/tests/src/pharext/TaskTest.php +++ b/tests/src/pharext/TaskTest.php @@ -57,10 +57,10 @@ class TaskTest extends \PHPUnit_Framework_TestCase "name" => "json_post", "release" => "1.0.0", "license" => file_get_contents($src->getBaseDir()."/LICENSE"), - "stub" => "pharext_installer.php", "type" => "extension", ]; - $pkg = (new Task\PharBuild($src, $inf))->run(); + $stb = __DIR__."/../../../src/pharext_installer.php"; + $pkg = (new Task\PharBuild($src, $stb, $inf))->run(); $gzp = (new Task\PharCompress($pkg, \Phar::GZ))->run(); $pkg = (new Task\PharRename($pkg, ".", "json_post-1.0.0"))->run(); $gzp = (new Task\PharRename($gzp, ".", "json_post-1.0.0"))->run();