diff options
author | n-peugnet <n.peugnet@free.fr> | 2020-04-17 20:13:01 +0200 |
---|---|---|
committer | Vincent Peugnet <33429034+vincent-peugnet@users.noreply.github.com> | 2020-04-17 20:41:30 +0200 |
commit | dc5613c15b1b414fefadd66912ebf8ff3a5eef9d (patch) | |
tree | e6d33db1816628c40244f3ddd7dadbb3017c1e8e | |
parent | c272a5d2d8ae46a333dd955a1431e4d4b84201e4 (diff) | |
download | wcms-dc5613c15b1b414fefadd66912ebf8ff3a5eef9d.tar.gz wcms-dc5613c15b1b414fefadd66912ebf8ff3a5eef9d.zip |
tests: fix setup of phpcsand phpunit
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | phpcs.xml | 1 | ||||
-rw-r--r-- | phpunit.xml | 2 |
3 files changed, 3 insertions, 2 deletions
@@ -168,7 +168,7 @@ lint: $(phpcs_dir) # Test php code with phpunit. .PHONY: test test: $(phpunit_dir) - phpunit + phpunit --log-junit $(phpunit_dir)/junit.xml # Create dirs if the do not exist $(dirs): @@ -7,6 +7,7 @@ <!-- included files --> <file>index.php</file> <file>app</file> + <file>tests</file> <exclude-pattern>app/view/templates/*\.php$</exclude-pattern> <!-- Add some default command line args (see help) --> diff --git a/phpunit.xml b/phpunit.xml index d13e9bf..7c403b4 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8" ?> <phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/6.3/phpunit.xsd" + xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/8.5/phpunit.xsd" bootstrap="vendor/autoload.php" cacheResultFile="build/phpunit/result.cache" colors="true"> |