Преглед изворни кода

Fix tests

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
tags/v12.0.0beta1
Roeland Jago Douma пре 7 година
родитељ
комит
a1f46db793
No account linked to committer's email address
1 измењених фајлова са 5 додато и 1 уклоњено
  1. 5
    1
      tests/lib/Preview/GeneratorTest.php

+ 5
- 1
tests/lib/Preview/GeneratorTest.php Прегледај датотеку

@@ -399,6 +399,10 @@ class GeneratorTest extends \Test\TestCase {
);

$result = $this->generator->getPreview($file, $reqX, $reqY, $crop, $mode);
$this->assertSame($preview, $result);
if ($expectedX === $maxX && $expectedY === $maxY) {
$this->assertSame($maxPreview, $result);
} else {
$this->assertSame($preview, $result);
}
}
}

Loading…
Откажи
Сачувај