From e175b3c73373c94de07dd607c9221b42a903951c Mon Sep 17 00:00:00 2001 From: Philipp Holzer Date: Wed, 17 Jul 2019 12:40:00 +0200 Subject: [PATCH] Fix L10n test - Switched L10n::t() argument --- tests/src/Core/InstallerTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/src/Core/InstallerTest.php b/tests/src/Core/InstallerTest.php index 59947efa33..942cdec1a5 100644 --- a/tests/src/Core/InstallerTest.php +++ b/tests/src/Core/InstallerTest.php @@ -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); } /**