From f66e5928fc73d1dad27f2f785909c2ed050b6ff7 Mon Sep 17 00:00:00 2001 From: Asko Nõmm Date: Sun, 10 Nov 2024 22:55:56 +0200 Subject: Add phpunit.xml --- composer.json | 8 ++++++++ phpunit.xml | 14 ++------------ tests/FileSystemDriverTest.php | 3 +++ tests/LoggrTest.php | 2 ++ tests/OutputDriverTest.php | 3 +++ 5 files changed, 18 insertions(+), 12 deletions(-) diff --git a/composer.json b/composer.json index 104a3f8..affb543 100644 --- a/composer.json +++ b/composer.json @@ -6,6 +6,14 @@ "autoload": { "psr-4": { "Asko\\Loggr\\": "src/" + }, + "classmap": [ + "src/" + ] + }, + "autoload-dev": { + "psr-4": { + "Asko\\Loggr\\Tests\\": "tests/" } }, "authors": [ diff --git a/phpunit.xml b/phpunit.xml index 297f478..43bb6c3 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -1,21 +1,11 @@ - + tests - - + src diff --git a/tests/FileSystemDriverTest.php b/tests/FileSystemDriverTest.php index 5e4f8c3..f642b4f 100644 --- a/tests/FileSystemDriverTest.php +++ b/tests/FileSystemDriverTest.php @@ -1,5 +1,8 @@