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
|
@ -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 New Issue