summaryrefslogtreecommitdiff
path: root/utils/phpunit.sh
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2023-10-24 22:27:27 +0300
committerAndrew Dolgov <[email protected]>2023-10-24 22:27:27 +0300
commit69c1c629927cd78286fc6c8d61b5b5ad78245508 (patch)
tree01cf192af1d71f6406aed02e492749f70d96d4c8 /utils/phpunit.sh
parentde2830b241dc393695fe9278d431d412c1be6266 (diff)
add a workaround for make_self_url() when invoked off /api/ endpoint, add unit tests for this method
Diffstat (limited to 'utils/phpunit.sh')
-rwxr-xr-xutils/phpunit.sh6
1 files changed, 6 insertions, 0 deletions
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
+
+