diff --git a/tests/e2e/Services/Functions/FunctionsCustomServerTest.php b/tests/e2e/Services/Functions/FunctionsCustomServerTest.php index 7ec243ef8..8a2938178 100644 --- a/tests/e2e/Services/Functions/FunctionsCustomServerTest.php +++ b/tests/e2e/Services/Functions/FunctionsCustomServerTest.php @@ -183,7 +183,7 @@ class FunctionsConsoleServerTest extends Scope 'x-appwrite-project' => $this->getProject()['$id'], ], $this->getHeaders()), [ 'command' => 'node ./test.js', - 'code' => new CURLFile(realpath(__DIR__ . '/../../../resources/function.tar.gz'), 'application/x-gzip', 'function.tar.gz'), + 'code' => new CURLFile(realpath(__DIR__ . '/../../../resources/functions/php-fx.tar.gz'), 'application/x-gzip', 'php-fx.tar.gz'), ]); $tagId = (isset($tag['body']['$id'])) ? $tag['body']['$id'] : ''; diff --git a/tests/resources/function.tar.gz b/tests/resources/function.tar.gz deleted file mode 100644 index 530231505..000000000 Binary files a/tests/resources/function.tar.gz and /dev/null differ diff --git a/tests/resources/functions/php-fx.gz b/tests/resources/functions/php-fx.gz new file mode 100644 index 000000000..f8e3cbd81 Binary files /dev/null and b/tests/resources/functions/php-fx.gz differ diff --git a/tests/resources/functions/python-fx.tar.gz b/tests/resources/functions/python-fx.tar.gz new file mode 100644 index 000000000..22edb784b Binary files /dev/null and b/tests/resources/functions/python-fx.tar.gz differ