fix(tests): Fix test to remove call to non-existing constructor

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
This commit is contained in:
Côme Chilliet 2024-09-23 14:50:43 +02:00
parent eac9255966
commit b8ab560bdd
No known key found for this signature in database
GPG key ID: A3E2F658B28C760A

View file

@ -1589,7 +1589,6 @@ class ViewTest extends \Test\TestCase {
foreach ($mountPoints as $mountPoint) {
$storage = $this->getMockBuilder(Storage::class)
->setMethods([])
->setConstructorArgs([[]])
->getMock();
$storage->method('getId')->willReturn('non-null-id');
$storage->method('getStorageCache')->willReturnCallback(function () use ($storage) {