From c2b02d0d3724300915c865190a5a9e08ce87be05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Viguier?= Date: Tue, 18 Apr 2023 07:53:11 +0200 Subject: [PATCH] Oups tests broken (#1801) * wrong name... * oups --- Makefile | 2 +- phpunit.xml | 12 ++++++------ .../{TestsConstants.php => TestConstants.php} | 0 3 files changed, 7 insertions(+), 7 deletions(-) rename tests/Feature/Constants/{TestsConstants.php => TestConstants.php} (100%) diff --git a/Makefile b/Makefile index 2f33b388e9a..ac5c2fdf26e 100644 --- a/Makefile +++ b/Makefile @@ -108,6 +108,6 @@ TESTS_PHP := $(shell find tests/Feature -name "*Test.php" -printf "%f\n") TEST_DONE := $(addprefix build/,$(TESTS_PHP:.php=.done)) build/%.done: tests/Feature/%.php - vendor/bin/phpunit --filter $* && touch build/$*.done + XDEBUG_MODE=coverage vendor/bin/phpunit --filter $* && touch build/$*.done all_tests: $(TEST_DONE) \ No newline at end of file diff --git a/phpunit.xml b/phpunit.xml index f6dd5f3a3a4..f7119c7fb73 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -18,12 +18,12 @@ ./tests/Feature/Base/BasePhotoTest.php ./tests/Feature/Base/BasePhotosRotateTest.php ./tests/Feature/Base/BaseSharingTest.php - ./tests/Feature/Lib/AlbumsUnitTest.php - ./tests/Feature/Lib/PhotosUnitTest.php - ./tests/Feature/Lib/RootAlbumUnitTest.php - ./tests/Feature/Lib/SessionUnitTest.php - ./tests/Feature/Lib/SharingUnitTest.php - ./tests/Feature/Lib/UsersUnitTest.php + ./tests/Feature/LibUnitTests/AlbumsUnitTest.php + ./tests/Feature/LibUnitTests/PhotosUnitTest.php + ./tests/Feature/LibUnitTests/RootAlbumUnitTest.php + ./tests/Feature/LibUnitTests/SessionUnitTest.php + ./tests/Feature/LibUnitTests/SharingUnitTest.php + ./tests/Feature/LibUnitTests/UsersUnitTest.php diff --git a/tests/Feature/Constants/TestsConstants.php b/tests/Feature/Constants/TestConstants.php similarity index 100% rename from tests/Feature/Constants/TestsConstants.php rename to tests/Feature/Constants/TestConstants.php