File tree 1 file changed +0
-19
lines changed
1 file changed +0
-19
lines changed Original file line number Diff line number Diff line change 17
17
18
18
namespace App \Test \TestCase \Locales ;
19
19
20
- use App \Model \Table \ResourcesTable ;
21
20
use Cake \I18n \I18n ;
22
- use Cake \ORM \TableRegistry ;
23
21
use Cake \TestSuite \TestCase ;
24
22
25
23
class I18NTest extends TestCase
26
24
{
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
-
43
25
public function dataForFrenchTranslation (): array
44
26
{
45
27
return [
@@ -49,7 +31,6 @@ public function dataForFrenchTranslation(): array
49
31
50
32
/**
51
33
* @dataProvider dataForFrenchTranslation
52
- * @throws \Aura\Intl\Exception
53
34
*/
54
35
public function testFrenchTranslation ($ en , $ fr )
55
36
{
You can’t perform that action at this time.
0 commit comments