Merge pull request #43734 from nextcloud/backport/40474/stable27

This commit is contained in:
John Molakvoæ 2024-02-22 08:31:57 +01:00 committed by GitHub
commit 0386641984
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 0 additions and 4 deletions

View file

@ -408,7 +408,6 @@ class FilesReportPlugin extends ServerPlugin {
$responses[] = new Response(
rtrim($this->server->getBaseUri(), '/') . $filesUri . $node->getPath(),
$result,
200
);
}
return $responses;

View file

@ -444,9 +444,6 @@ class FilesReportPluginTest extends \Test\TestCase {
$this->assertCount(2, $responses);
$this->assertEquals(200, $responses[0]->getHttpStatus());
$this->assertEquals(200, $responses[1]->getHttpStatus());
$this->assertEquals('http://example.com/owncloud/remote.php/dav/files/username/node1', $responses[0]->getHref());
$this->assertEquals('http://example.com/owncloud/remote.php/dav/files/username/sub/node2', $responses[1]->getHref());