mirror of
https://github.com/nextcloud/server.git
synced 2026-03-04 18:28:08 +01:00
@@ -304,6 +304,9 @@ class DirectoryTest extends \Test\TestCase {
|
||||
->method('getFileInfo')
|
||||
->willReturn($this->info);
|
||||
|
||||
$mountPoint->method('getMountPoint')
|
||||
->willReturn('/user/files/mymountpoint');
|
||||
|
||||
$dir = new Directory($this->view, $this->info);
|
||||
$this->assertEquals([200, -3], $dir->getQuotaInfo()); //200 used, unlimited
|
||||
}
|
||||
@@ -339,6 +342,9 @@ class DirectoryTest extends \Test\TestCase {
|
||||
->method('getMountPoint')
|
||||
->willReturn($mountPoint);
|
||||
|
||||
$mountPoint->method('getMountPoint')
|
||||
->willReturn('/user/files/mymountpoint');
|
||||
|
||||
$this->view->expects($this->once())
|
||||
->method('getFileInfo')
|
||||
->willReturn($this->info);
|
||||
|
||||
Reference in New Issue
Block a user