mirror of
https://github.com/nextcloud/server.git
synced 2026-06-08 16:26:59 -04:00
Remove public interface that was only needed for testing
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
parent
f45df6096b
commit
94b1b1593b
2 changed files with 0 additions and 10 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue