From ed00fbd3836166909b04fb9d00a3549b2420eafd Mon Sep 17 00:00:00 2001 From: SadElephant Date: Fri, 26 May 2023 15:00:46 +0300 Subject: [PATCH] fixed test --- .github/workflows/run-tests.yml | 2 +- phpunit.xml.dist | 14 +++++++++----- tests/ExampleTest.php | 13 +++++++++++++ 3 files changed, 23 insertions(+), 6 deletions(-) create mode 100644 tests/ExampleTest.php diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 3a41dde..c812fa2 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -41,4 +41,4 @@ jobs: composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-suggest - name: Execute tests - run: vendor/bin/phpunit + run: vendor/bin/phpunit --no-coverage diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 298602c..6c92107 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,14 +1,18 @@ - + - tests + ./tests - - ./src - diff --git a/tests/ExampleTest.php b/tests/ExampleTest.php new file mode 100644 index 0000000..8ffa990 --- /dev/null +++ b/tests/ExampleTest.php @@ -0,0 +1,13 @@ +assertTrue(true); + } +}