stable

Clone or download

Read-only

Move WebDAVAuthenticationTest to PHPUnit

This is part request #14147 Move Webdav plugin tests to PHPUnit No functional change expected here. A refactoring was done to isolate the modifications of headers in a dedicated class so that it could be mocked properly. Change-Id: I2daf0880c8063cb9b1abf44d595a65df7c3a99d8

Modified Files

Name
A plugins/webdav/include/Authentication/HeadersSender.php +42 −0 Go to diff View file
M plugins/webdav/include/WebDAVAuthentication.class.php +14 −15 Go to diff View file
M plugins/webdav/include/webdavPlugin.php +9 −6 Go to diff View file
A plugins/webdav/phpunit/WebDAVAuthenticationTest.php +167 −0 Go to diff View file
D plugins/webdav/tests/WebDAVAuthenticationTest.php +0 −147 Go to diff View file