stable

Clone or download

Read-only

Refactor WebdavRoot and WebdavProject to make dependency explicit

In order to make tests more effective (less partial mocks) and to better grasp the webdav internals vs. sabre/dav contract the first 2 nodes of the graph are refactored to have most of the dependencies explicit and make everything that can be private private. Part of request #18470 Bump sabre/dav to 4.1.3 🙄 Change-Id: Id6b7b2abf4ab699842528a8ecfb6156e0ecbf3b9

Modified Files

Name
M plugins/webdav/include/BrowserPlugin.class.php +13 −15 Go to diff View file
M plugins/webdav/include/FS/WebDAVDocmanFolder.class.php +6 −0 Go to diff View file
M plugins/webdav/include/FS/WebDAVProject.class.php +28 −153 Go to diff View file
M plugins/webdav/include/FS/WebDAVRoot.class.php +74 −120 Go to diff View file
M plugins/webdav/include/ServerBuilder.php +16 −2 Go to diff View file
M plugins/webdav/tests/unit/WebDAVProjectTest.php +33 −64 Go to diff View file
M plugins/webdav/tests/unit/WebDAVRootTest.php +68 −83 Go to diff View file
M tests/lib/Builders/ProjectTestBuilder.php +6 −0 Go to diff View file