From 8a43748ac8712359f83acacce27a7263b6a1c7c4 Mon Sep 17 00:00:00 2001 From: Paul Vogel Date: Fri, 16 Oct 2026 14:04:13 +0200 Subject: [PATCH 1/2] rename test namespace to Tests and add minecraft keyword --- composer.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 1e1ee2d..825ca52 100644 --- a/composer.json +++ b/composer.json @@ -6,6 +6,7 @@ "hangar", "papermc", "plugins", + "minecraft", "php", "api" ], @@ -36,7 +37,7 @@ }, "autoload-dev": { "psr-4": { - "Aternos\\HangarApi\\Test\\": "tests/" + "Aternos\\HangarApi\\Tests\\": "tests/" } } } From 10ece4cc6437869e420c672df67784ddab6fec15 Mon Sep 17 00:00:00 2001 From: Paul Vogel Date: Fri, 16 Oct 2026 14:04:30 +0200 Subject: [PATCH 2/2] update namespace in test classes --- tests/Integration/Client/ClientTest.php | 2 +- tests/Unit/Client/ClientTestCase.php | 2 +- tests/Unit/Client/CompactProjectTest.php | 2 +- tests/Unit/Client/HangarAPIClientTest.php | 2 +- tests/Unit/Client/JWTTest.php | 2 +- .../Client/List/CompactProject/StarredProjectListTest.php | 4 ++-- .../Client/List/CompactProject/WatchedProjectListTest.php | 4 ++-- tests/Unit/Client/List/ProjectListTest.php | 4 ++-- tests/Unit/Client/List/ProjectMemberListTest.php | 4 ++-- tests/Unit/Client/List/ProjectVersionListTest.php | 4 ++-- tests/Unit/Client/List/ResultListTest.php | 4 ++-- tests/Unit/Client/List/User/AuthorListTest.php | 4 ++-- tests/Unit/Client/List/User/ProjectStarGazersListTest.php | 4 ++-- tests/Unit/Client/List/User/ProjectWatcherListTest.php | 4 ++-- tests/Unit/Client/List/User/StaffListTest.php | 4 ++-- tests/Unit/Client/List/UserListTest.php | 4 ++-- tests/Unit/Client/ProjectTest.php | 2 +- tests/Unit/Client/UserTest.php | 2 +- 18 files changed, 29 insertions(+), 29 deletions(-) diff --git a/tests/Integration/Client/ClientTest.php b/tests/Integration/Client/ClientTest.php index c336217..38d05b8 100644 --- a/tests/Integration/Client/ClientTest.php +++ b/tests/Integration/Client/ClientTest.php @@ -1,6 +1,6 @@