Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
public function testGetLogo() {
$file = $this->createMock(ISimpleFile::class);
+ $file->method('getName')->willReturn('logo.svg');
+ $file->method('getMTime')->willReturn(42);
$this->imageManager->expects($this->once())
->method('getImage')
->willReturn($file);
public function testGetLoginBackground() {
$file = $this->createMock(ISimpleFile::class);
+ $file->method('getName')->willReturn('background.png');
+ $file->method('getMTime')->willReturn(42);
$this->imageManager->expects($this->once())
->method('getImage')
->willReturn($file);