mirror of
https://codeberg.org/icewind/SearchDAV.git
synced 2026-08-02 12:14:54 +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:check": "php-cs-fixer fix --dry-run --diff",
|
||||||
"cs:fix": "php-cs-fixer fix",
|
"cs:fix": "php-cs-fixer fix",
|
||||||
"psalm": "psalm.phar",
|
"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;
|
use SearchDAV\DAV\PathHelper;
|
||||||
|
|
||||||
class PathHelperTest extends TestCase {
|
class PathHelperTest extends TestCase {
|
||||||
public function uriProvider() {
|
public static function uriProvider() {
|
||||||
return [
|
return [
|
||||||
['/', '', ''],
|
['/', '', ''],
|
||||||
['/index.php/', 'foo', 'foo'],
|
['/index.php/', 'foo', 'foo'],
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
<?xml version="1.0" encoding="utf-8" ?>
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
<phpunit bootstrap="bootstrap.php">
|
<phpunit bootstrap="bootstrap.php">
|
||||||
<testsuite name='SearchDAV'>
|
<testsuite name='SearchDAV'>
|
||||||
<directory suffix='.php'>./</directory>
|
<directory suffix='Test.php'>./</directory>
|
||||||
</testsuite>
|
</testsuite>
|
||||||
<filter>
|
<filter>
|
||||||
<whitelist processUncoveredFilesFromWhitelist="true">
|
<whitelist processUncoveredFilesFromWhitelist="true">
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue