From 985124cf30b0ddb256af533ba90eb2ef2948bb0b Mon Sep 17 00:00:00 2001 From: maxperei Date: Fri, 27 Dec 2024 11:39:14 +0100 Subject: [PATCH] fix(phpunit): extract translation to avoid crawler error in tests --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e952b8a..c2cae87 100644 --- a/Makefile +++ b/Makefile @@ -26,7 +26,7 @@ endif rm -rf ${TEST_DIRECTORY} .PHONY: reset -phpunit: phpunit-configure phpunit-run ## Run PHPUnit +phpunit: phpunit-configure extract-translations phpunit-run ## Run PHPUnit .PHONY: phpunit ### @@ -72,6 +72,9 @@ install-sylius: phpunit-configure: cp phpunit.xml.dist ${TEST_DIRECTORY}/phpunit.xml +extract-translations: + ${CONSOLE} translation:extract --force en + phpunit-run: cd ${TEST_DIRECTORY} && ./vendor/bin/phpunit