Remove public interface that was only needed for testing

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
Morris Jobke 2019-02-01 15:40:21 +01:00
parent f45df6096b
commit 94b1b1593b
No known key found for this signature in database
GPG Key ID: FE03C3A163FEDE68
2 changed files with 0 additions and 10 deletions

View File

@ -66,13 +66,4 @@ class FileDisplayResponse extends Response implements ICallbackResponse {
$output->setOutput($this->file->getContent());
}
}
/**
* Returns the response file.
*
* @return \OCP\Files\File|\OCP\Files\SimpleFS\ISimpleFile
*/
public function getFile() {
return $this->file;
}
}

View File

@ -85,6 +85,5 @@ class GuestAvatarControllerTest extends \Test\TestCase {
$this->assertGreaterThanOrEqual(201, $response->getStatus());
$this->assertInstanceOf(FileDisplayResponse::class, $response);
$this->assertSame($this->file, $response->getFile());
}
}