1
0
mirror of https://github.com/flarum/core.git synced 2025-01-18 06:38:25 +01:00

Use Symfony TranslatorInterface for tests

This seems to be a leftover change missed in https://github.com/flarum/core/pull/2243
This commit is contained in:
Alexander Skvortsov 2020-10-05 16:02:12 -04:00
parent 13efd02085
commit 97c36f2f7d

View File

@ -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;
}