88use Symfony \Component \Console \Tester \CommandTester ;
99use Translation \Bundle \Tests \Functional \BaseTestCase ;
1010
11- class CheckCommandTest extends BaseTestCase
11+ class CheckMissingCommandTest extends BaseTestCase
1212{
1313 /**
1414 * @var Application
@@ -64,7 +64,7 @@ protected function setUp(): void
6464
6565 public function testReportsMissingTranslations (): void
6666 {
67- $ commandTester = new CommandTester ($ this ->application ->find ('translation:check ' ));
67+ $ commandTester = new CommandTester ($ this ->application ->find ('translation:check-missing ' ));
6868
6969 $ commandTester ->execute (['locale ' => 'sv ' , 'configuration ' => 'app ' ]);
7070
@@ -80,7 +80,7 @@ public function testReportsEmptyTranslationMessages(): void
8080 // run translation:extract first, so all translations are extracted
8181 (new CommandTester ($ this ->application ->find ('translation:extract ' )))->execute (['locale ' => 'sv ' ]);
8282
83- $ commandTester = new CommandTester ($ this ->application ->find ('translation:check ' ));
83+ $ commandTester = new CommandTester ($ this ->application ->find ('translation:check-missing ' ));
8484
8585 $ commandTester ->execute (['locale ' => 'sv ' , 'configuration ' => 'app ' ]);
8686
@@ -181,7 +181,7 @@ public function testReportsNoNewTranslationMessages(): void
181181XML
182182 );
183183
184- $ commandTester = new CommandTester ($ this ->application ->find ('translation:check ' ));
184+ $ commandTester = new CommandTester ($ this ->application ->find ('translation:check-missing ' ));
185185
186186 $ commandTester ->execute (['locale ' => 'sv ' , 'configuration ' => 'app ' ]);
187187
0 commit comments