From 97c36f2f7d991c029461fa6fc222b7cc020da35f Mon Sep 17 00:00:00 2001 From: Alexander Skvortsov Date: Mon, 5 Oct 2020 16:02:12 -0400 Subject: [PATCH] Use Symfony TranslatorInterface for tests This seems to be a leftover change missed in https://github.com/flarum/core/pull/2243 --- tests/integration/extenders/EventTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/integration/extenders/EventTest.php b/tests/integration/extenders/EventTest.php index 066f4f9ec..de32cd1ee 100644 --- a/tests/integration/extenders/EventTest.php +++ b/tests/integration/extenders/EventTest.php @@ -16,7 +16,7 @@ use Flarum\Tests\integration\RetrievesAuthorizedUsers; use Flarum\Tests\integration\TestCase; use Flarum\User\User; use Illuminate\Contracts\Bus\Dispatcher; -use Illuminate\Contracts\Translation\Translator; +use Symfony\Component\Translation\TranslatorInterface; class EventTest extends TestCase { @@ -87,7 +87,7 @@ class CustomListener { protected $translator; - public function __construct(Translator $translator) + public function __construct(TranslatorInterface $translator) { $this->translator = $translator; }