Fixes the logo test

Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
This commit is contained in:
Michael Weimann 2018-10-03 19:26:47 +02:00
parent a45ec3d324
commit 065e0c0e49
No known key found for this signature in database
GPG Key ID: 34F0524D4DA694A1
1 changed files with 2 additions and 2 deletions

View File

@ -92,7 +92,7 @@ class UtilTest extends TestCase {
$invert = $this->util->invertTextColor('aaabbbcccddd123');
$this->assertEquals(false, $invert);
}
public function testInvertTextColorEmpty() {
$invert = $this->util->invertTextColor('');
$this->assertEquals(false, $invert);
@ -174,7 +174,7 @@ class UtilTest extends TestCase {
public function dataGetAppImage() {
return [
['core', 'logo.svg', \OC::$SERVERROOT . '/core/img/logo.svg'],
['core', 'logo/logo.svg', \OC::$SERVERROOT . '/core/img/logo/logo.svg'],
['files', 'external', \OC::$SERVERROOT . '/apps/files/img/external.svg'],
['files', 'external.svg', \OC::$SERVERROOT . '/apps/files/img/external.svg'],
['noapplikethis', 'foobar.svg', false],