From b15f862193c4fb44d8765dcdf589cb0c4e5e8a58 Mon Sep 17 00:00:00 2001 From: peter279k Date: Sun, 13 Dec 2020 10:58:45 +0800 Subject: [PATCH] Using PHPUnit ^4.8.36 and some PHPUnit stuffs --- composer.json | 7 ++++++- phpunit.xml | 1 + tests/ClientTest.php | 12 ++---------- tests/RequestTest.php | 13 ++----------- 4 files changed, 11 insertions(+), 22 deletions(-) diff --git a/composer.json b/composer.json index b5e0b93..405b4e2 100644 --- a/composer.json +++ b/composer.json @@ -20,11 +20,16 @@ "php": ">=5.3" }, "require-dev": { - "phpunit/phpunit": ">=4" + "phpunit/phpunit": "^4.8.36" }, "autoload": { "psr-4": { "HolidayAPI\\": "src/" } + }, + "autoload-dev": { + "psr-4": { + "HolidayAPI\\Tests\\": "tests/" + } } } diff --git a/phpunit.xml b/phpunit.xml index fa05f6b..fa15f4b 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -1,6 +1,7 @@