Prechádzať zdrojové kódy

removing outdated configurations and fix path of phpunit

El RIDO 6 rokov pred
rodič
commit
51a867bc20
2 zmenil súbory, kde vykonal 2 pridanie a 2 odobranie
  1. 1 1
      .github/workflows/tests.yml
  2. 1 1
      tst/phpunit.xml

+ 1 - 1
.github/workflows/tests.yml

@@ -31,7 +31,7 @@ jobs:
     - name: Setup PHPunit
     - name: Setup PHPunit
       run: composer install -n
       run: composer install -n
     - name: Run unit tests
     - name: Run unit tests
-      run: phpunit --no-coverage
+      run: ../vendor/bin/phpunit --no-coverage
       working-directory: tst
       working-directory: tst
   Mocha:
   Mocha:
     runs-on: ubuntu-latest
     runs-on: ubuntu-latest

+ 1 - 1
tst/phpunit.xml

@@ -13,7 +13,7 @@
 	</filter>
 	</filter>
 	<logging>
 	<logging>
 		<log type="coverage-clover" target="log/coverage-clover.xml" />
 		<log type="coverage-clover" target="log/coverage-clover.xml" />
-		<log type="coverage-html" target="log/php-coverage-report" charset="UTF-8" yui="true" highlight="true" lowUpperBound="50" highLowerBound="80" />
+		<log type="coverage-html" target="log/php-coverage-report" lowUpperBound="50" highLowerBound="80" />
 		<log type="testdox-html" target="log/testdox.html" />
 		<log type="testdox-html" target="log/testdox.html" />
 	</logging>
 	</logging>
 </phpunit>
 </phpunit>