]> git.mxchange.org Git - friendica.git/blobdiff - tests/src/Core/InstallerTest.php
Fix tests (remove superfluous second parameter)
[friendica.git] / tests / src / Core / InstallerTest.php
index f787e0ce5a58d908d800373e73729ad3b2fa46a0..370373850a54503a7250e7b34063a734c5d61b32 100644 (file)
@@ -34,7 +34,7 @@ class InstallerTest extends MockedTest
                $dice = $dice->addRules(include __DIR__ . '/../../../static/dependencies.config.php');
 
                $dice->shouldReceive('create')
-                          ->with(\Friendica\Core\L10n\L10n::class, [])
+                          ->with(\Friendica\Core\L10n\L10n::class)
                           ->andReturn($this->l10nMock);
 
                DI::init($dice);
@@ -389,7 +389,7 @@ class InstallerTest extends MockedTest
                $this->assertCheckExist(1,
                        $this->l10nMock->t('ImageMagick supports GIF'),
                        '',
-                       true,
+                       false,
                        false,
                        $install->getChecks());
        }