Skip to content

Commit 87a25b2

Browse files
Fixes style check
1 parent 94df556 commit 87a25b2

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

tests/TestCase/Locales/I18NTest.php

-19
Original file line numberDiff line numberDiff line change
@@ -17,29 +17,11 @@
1717

1818
namespace App\Test\TestCase\Locales;
1919

20-
use App\Model\Table\ResourcesTable;
2120
use Cake\I18n\I18n;
22-
use Cake\ORM\TableRegistry;
2321
use Cake\TestSuite\TestCase;
2422

2523
class I18NTest extends TestCase
2624
{
27-
/**
28-
* @var ResourcesTable
29-
*/
30-
public $Resources;
31-
32-
public function setUp(): void
33-
{
34-
$this->Resources = TableRegistry::getTableLocator()->get('Resources');
35-
}
36-
37-
public function tearDown(): void
38-
{
39-
I18n::setLocale('en_US');
40-
unset($this->Resources);
41-
}
42-
4325
public function dataForFrenchTranslation(): array
4426
{
4527
return [
@@ -49,7 +31,6 @@ public function dataForFrenchTranslation(): array
4931

5032
/**
5133
* @dataProvider dataForFrenchTranslation
52-
* @throws \Aura\Intl\Exception
5334
*/
5435
public function testFrenchTranslation($en, $fr)
5536
{

0 commit comments

Comments
 (0)