/
var
/
www
/
vhosts
/
ihelp.ro
/
httpdocs
/
vendor
/
mirko-pagliai
/
cakephp-thumber
/
tests
/
TestCase
/
/var/www/vhosts/ihelp.ro/httpdocs/vendor/mirko-pagliai/cakephp-thumber/tests/TestCase
mkdir
upload
Name
Size
Mode
Actions
Command/
-
0755
rm
Middleware/
-
0755
rm
Utility/
-
0755
rm
View/
-
0755
rm
I18nTest.php
889
0644
edit
dl
rm
Edit:
/var/www/vhosts/ihelp.ro/httpdocs/vendor/mirko-pagliai/cakephp-thumber/tests/TestCase/I18nTest.php
(889B)
<?php declare(strict_types=1); /** * This file is part of cakephp-thumber. * * Licensed under The MIT License * For full copyright and license information, please see the LICENSE.txt * Redistributions of files must retain the above copyright notice. * * @copyright Copyright (c) Mirko Pagliai * @link https://github.com/mirko-pagliai/cakephp-thumber * @license https://opensource.org/licenses/mit-license.php MIT License */ namespace Thumber\Cake\Test\TestCase; use Cake\I18n\I18n; use Thumber\TestSuite\TestCase; /** * I18nTest class */ class I18nTest extends TestCase { /** * Tests I18n translations * @test */ public function testI18nConstant(): void { $translator = I18n::getTranslator('thumber', 'it'); $this->assertEquals('Cancella tutte le miniature', $translator->translate('Clears all thumbnails')); } }
Save
cmd:
run