Skip to content

Commit

Permalink
Remove public interface that was only needed for testing
Browse files Browse the repository at this point in the history
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
  • Loading branch information
MorrisJobke committed Feb 7, 2019
1 parent f45df60 commit 94b1b15
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
9 changes: 0 additions & 9 deletions lib/public/AppFramework/Http/FileDisplayResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,4 @@ public function callback(IOutput $output) {
$output->setOutput($this->file->getContent());
}
}

/**
* Returns the response file.
*
* @return \OCP\Files\File|\OCP\Files\SimpleFS\ISimpleFile
*/
public function getFile() {
return $this->file;
}
}
1 change: 0 additions & 1 deletion tests/Core/Controller/GuestAvatarControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,5 @@ public function testGetAvatar() {

$this->assertGreaterThanOrEqual(201, $response->getStatus());
$this->assertInstanceOf(FileDisplayResponse::class, $response);
$this->assertSame($this->file, $response->getFile());
}
}

0 comments on commit 94b1b15

Please sign in to comment.