diff options
Diffstat (limited to 'tests/php/Activity/Provider/InvitationTest.php')
-rw-r--r-- | tests/php/Activity/Provider/InvitationTest.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/php/Activity/Provider/InvitationTest.php b/tests/php/Activity/Provider/InvitationTest.php index a06cd30d5..9f382c51f 100644 --- a/tests/php/Activity/Provider/InvitationTest.php +++ b/tests/php/Activity/Provider/InvitationTest.php @@ -21,7 +21,6 @@ namespace OCA\Talk\Tests\php\Activity\Provider; - use OCA\Talk\Activity\Provider\Invitation; use OCA\Talk\Config; use OCA\Talk\Exceptions\RoomNotFoundException; @@ -146,7 +145,7 @@ class InvitationTest extends TestCase { $l = $this->createMock(IL10N::class); $l->expects($this->any()) ->method('t') - ->willReturnCallback(function($text, $parameters = []) { + ->willReturnCallback(function ($text, $parameters = []) { return vsprintf($text, $parameters); }); @@ -221,5 +220,4 @@ class InvitationTest extends TestCase { $provider->parse($lang, $event); } - } |