Skip to content

Commit 5323725

Browse files
committed
Refactor translator instantiation in TranslatorTest.php
1 parent 6e4622b commit 5323725

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/TranslatorTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<?php
22

3-
use Ferdiunal\LaravelTranslator\Translator;
3+
use Ferdiunal\LaravelTranslator\LaravelTranslator;
44

55
it('can translate text', function () {
66
$text = 'Hello World';
77

8-
$translator = new Translator;
8+
$translator = new LaravelTranslator;
99

1010
expect($translator->translate('google', 'en', 'tr', $text))->toMatch('/^Selam Dünya/');
1111

0 commit comments

Comments
 (0)