Skip to content
Snippets Groups Projects
Unverified Commit 94b1b159 authored by Morris Jobke's avatar Morris Jobke
Browse files

Remove public interface that was only needed for testing


Signed-off-by: default avatarMorris Jobke <hey@morrisjobke.de>
parent f45df609
No related branches found
No related tags found
No related merge requests found
...@@ -66,13 +66,4 @@ class FileDisplayResponse extends Response implements ICallbackResponse { ...@@ -66,13 +66,4 @@ class FileDisplayResponse extends Response implements ICallbackResponse {
$output->setOutput($this->file->getContent()); $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 { ...@@ -85,6 +85,5 @@ class GuestAvatarControllerTest extends \Test\TestCase {
$this->assertGreaterThanOrEqual(201, $response->getStatus()); $this->assertGreaterThanOrEqual(201, $response->getStatus());
$this->assertInstanceOf(FileDisplayResponse::class, $response); $this->assertInstanceOf(FileDisplayResponse::class, $response);
$this->assertSame($this->file, $response->getFile());
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment