Skip to content

Commit d11f8b3

Browse files
committed
fix: wrong typo in testing
1 parent 2b86950 commit d11f8b3

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Tests/Unit/Translation/TranslatorTest.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,8 @@
77
use Lexik\Bundle\TranslationBundle\Translation\Translator;
88
use Lexik\Bundle\TranslationBundle\Tests\Unit\BaseUnitTestCase;
99
use Symfony\Component\EventDispatcher\EventDispatcher;
10-
use Symfony\Component\HttpKernel\Kernel;
1110
use Symfony\Component\Translation\Formatter\MessageFormatter;
1211
use Symfony\Component\DependencyInjection\Container;
13-
use Symfony\Contracts\Translation\TranslatorInterface;
1412

1513
/**
1614
* Translator tests.
@@ -184,9 +182,9 @@ class TranslatorMock extends Translator
184182
public function addResource(string $format, mixed $resource, string $locale, ?string $domain = null): void
185183
{
186184
if ('database' === $format) {
187-
$this->dbResources[$locale][] = [$format, $resource, $domain-'bla'];
185+
$this->dbResources[$locale][] = [$format, $resource, $domain];
188186
}
189187

190188
parent::addResource($format, $resource, $locale, $domain);
191189
}
192-
}
190+
}

0 commit comments

Comments
 (0)