From 69c1c629927cd78286fc6c8d61b5b5ad78245508 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 24 Oct 2023 22:27:27 +0300 Subject: add a workaround for make_self_url() when invoked off /api/ endpoint, add unit tests for this method --- utils/phpunit.sh | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 utils/phpunit.sh (limited to 'utils') diff --git a/utils/phpunit.sh b/utils/phpunit.sh new file mode 100755 index 000000000..2aa166283 --- /dev/null +++ b/utils/phpunit.sh @@ -0,0 +1,6 @@ +#!/bin/sh + +docker run --rm -v $(pwd):/app \ + --workdir /app registry.fakecake.org/ci/php8.2-alpine:3.18 php82 -d memory_limit=-1 ./vendor/bin/phpunit + + -- cgit v1.2.3