]> git.mxchange.org Git - friendica.git/commitdiff
Fix L10n test
authorPhilipp Holzer <admin+github@philipp.info>
Wed, 17 Jul 2019 10:40:00 +0000 (12:40 +0200)
committerPhilipp Holzer <admin+github@philipp.info>
Wed, 17 Jul 2019 10:40:00 +0000 (12:40 +0200)
- Switched L10n::t() argument

tests/src/Core/InstallerTest.php

index 59947efa331aaa5ed5238c1802a987e3c602f10c..942cdec1a582bbfa2911fa90819078a76459f6ee 100644 (file)
@@ -32,7 +32,7 @@ class InstallerTest extends MockedTest
 
        private function mockL10nT(string $text, $times = null)
        {
-               $this->l10nMock->shouldReceive('t')->with($text, [])->andReturn($text)->times($times);
+               $this->l10nMock->shouldReceive('t')->with($text)->andReturn($text)->times($times);
        }
 
        /**