Skip to content

Commit fc6732a

Browse files
committed
Update use of deprecated class.
1 parent 16ae734 commit fc6732a

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

tests/TestCase/Command/I18nExtractCommandTest.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,16 @@
55

66
use Cake\Core\Configure;
77
use Cake\ORM\TableRegistry;
8-
use Cake\TestSuite\ConsoleIntegrationTestCase;
8+
use Cake\TestSuite\ConsoleIntegrationTestTrait;
9+
use Cake\TestSuite\TestCase;
910

1011
/**
1112
* I18nExtractCommand Test Case.
1213
*/
13-
class I18nExtractCommandTest extends ConsoleIntegrationTestCase
14+
class I18nExtractCommandTest extends TestCase
1415
{
16+
use ConsoleIntegrationTestTrait;
17+
1518
protected $fixtures = ['plugin.ADmad/I18n.I18nMessages'];
1619

1720
public function setUp(): void

tests/TestCase/Command/I18nInitCommandTest.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,16 @@
44
namespace ADmad\I18n\Test\TestCase\Command;
55

66
use Cake\ORM\TableRegistry;
7-
use Cake\TestSuite\ConsoleIntegrationTestCase;
7+
use Cake\TestSuite\ConsoleIntegrationTestTrait;
8+
use Cake\TestSuite\TestCase;
89

910
/**
1011
* I18nInitCommand Test Case.
1112
*/
12-
class I18nInitCommandTest extends ConsoleIntegrationTestCase
13+
class I18nInitCommandTest extends TestCase
1314
{
15+
use ConsoleIntegrationTestTrait;
16+
1417
protected $fixtures = ['plugin.ADmad/I18n.I18nMessages'];
1518

1619
public function setUp(): void

0 commit comments

Comments
 (0)