@@ -93,6 +93,9 @@ discard block |
||
| 93 | 93 | ]; |
| 94 | 94 | } |
| 95 | 95 | |
| 96 | + /** |
|
| 97 | + * @return OC\Files\View |
|
| 98 | + */ |
|
| 96 | 99 | private function buildFileViewMock($quota) { |
| 97 | 100 | // mock filesysten |
| 98 | 101 | $view = $this->getMock('\OC\Files\View', array('free_space'), array(), '', false); |
@@ -175,6 +178,9 @@ discard block |
||
| 175 | 178 | $this->plugin->checkQuota('/sub/test.txt-chunking-12345-3-1'); |
| 176 | 179 | } |
| 177 | 180 | |
| 181 | + /** |
|
| 182 | + * @return OC\Files\View |
|
| 183 | + */ |
|
| 178 | 184 | private function buildFileViewMock($quota, $checkedPath) { |
| 179 | 185 | // mock file systen |
| 180 | 186 | $view = $this->getMockBuilder('\OC\Files\View') |