diff options
Diffstat (limited to 'tests/lib/App/AppStore/Bundles/BundleBase.php')
-rw-r--r-- | tests/lib/App/AppStore/Bundles/BundleBase.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/App/AppStore/Bundles/BundleBase.php b/tests/lib/App/AppStore/Bundles/BundleBase.php index 2c566b0ea0a..dc7e1920896 100644 --- a/tests/lib/App/AppStore/Bundles/BundleBase.php +++ b/tests/lib/App/AppStore/Bundles/BundleBase.php @@ -41,9 +41,9 @@ abstract class BundleBase extends TestCase { parent::setUp(); $this->l10n = $this->createMock(IL10N::class); $this->l10n->method('t') - ->will($this->returnCallback(function ($text, $parameters = []) { + ->willReturnCallback(function ($text, $parameters = []) { return vsprintf($text, $parameters); - })); + }); } public function testGetIdentifier() { |