Skip to content

Commit

Permalink
Fix phpunit
Browse files Browse the repository at this point in the history
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
  • Loading branch information
skjnldsv committed Aug 13, 2020
1 parent 33db1dd commit dab0ffc
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions tests/phpunit.xml → phpunit.xml
Original file line number Diff line number Diff line change
@@ -1,25 +1,27 @@
<?xml version="1.0" encoding="utf-8" ?>
<phpunit bootstrap="bootstrap.php"
<phpunit bootstrap="tests/bootstrap.php"
strict="true"
verbose="true"
timeoutForSmallTests="900"
timeoutForMediumTests="900"
timeoutForLargeTests="900"
>
<testsuite name='ownCloud - Files_Pdfviewer App Tests'>
<directory suffix='test.php'>.</directory>
<testsuite name='Files_PdfViewer app tests'>
<directory>./tests</directory>
</testsuite>

<!-- filters for code coverage -->
<filter>
<whitelist>
<directory suffix=".php">../../files_pdfviewer</directory>
<directory suffix=".php">./</directory>
<exclude>
<directory suffix=".php">../../files_pdfviewer/vendor</directory>
<directory suffix=".php">../../files_pdfviewer/templates</directory>
<directory suffix=".php">../../files_pdfviewer/tests</directory>
<directory suffix=".php">./vendor</directory>
<directory suffix=".php">./templates</directory>
<directory suffix=".php">./tests</directory>
</exclude>
</whitelist>
</filter>

<logging>
<!-- and this is where your report will be written -->
<log type="coverage-clover" target="./clover.xml"/>
Expand Down

0 comments on commit dab0ffc

Please sign in to comment.