mirror of
https://codeberg.org/icewind/SearchDAV.git
synced 2026-08-02 04:04:51 +02:00
phpunit fixes
This commit is contained in:
parent
add1aa4e7d
commit
23149bd573
3 changed files with 4 additions and 3 deletions
|
|
@ -34,6 +34,7 @@
|
|||
"cs:check": "php-cs-fixer fix --dry-run --diff",
|
||||
"cs:fix": "php-cs-fixer fix",
|
||||
"psalm": "psalm.phar",
|
||||
"phpstan": "phpstan analyse --level 6 src"
|
||||
"phpstan": "phpstan analyse --level 6 src",
|
||||
"phpunit": "phpunit -c tests/phpunit.xml"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ use Sabre\DAV\Server;
|
|||
use SearchDAV\DAV\PathHelper;
|
||||
|
||||
class PathHelperTest extends TestCase {
|
||||
public function uriProvider() {
|
||||
public static function uriProvider() {
|
||||
return [
|
||||
['/', '', ''],
|
||||
['/index.php/', 'foo', 'foo'],
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<phpunit bootstrap="bootstrap.php">
|
||||
<testsuite name='SearchDAV'>
|
||||
<directory suffix='.php'>./</directory>
|
||||
<directory suffix='Test.php'>./</directory>
|
||||
</testsuite>
|
||||
<filter>
|
||||
<whitelist processUncoveredFilesFromWhitelist="true">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue