public function LingotekCliServiceTest::testDownloadTranslationsInvalidEntityTypeId in Lingotek Translation 3.8.x
Same name and namespace in other branches
- 8.2 tests/src/Unit/Cli/LingotekCliServiceTest.php \Drupal\Tests\lingotek\Unit\Cli\LingotekCliServiceTest::testDownloadTranslationsInvalidEntityTypeId()
- 4.0.x tests/src/Unit/Cli/LingotekCliServiceTest.php \Drupal\Tests\lingotek\Unit\Cli\LingotekCliServiceTest::testDownloadTranslationsInvalidEntityTypeId()
- 3.0.x tests/src/Unit/Cli/LingotekCliServiceTest.php \Drupal\Tests\lingotek\Unit\Cli\LingotekCliServiceTest::testDownloadTranslationsInvalidEntityTypeId()
- 3.1.x tests/src/Unit/Cli/LingotekCliServiceTest.php \Drupal\Tests\lingotek\Unit\Cli\LingotekCliServiceTest::testDownloadTranslationsInvalidEntityTypeId()
- 3.2.x tests/src/Unit/Cli/LingotekCliServiceTest.php \Drupal\Tests\lingotek\Unit\Cli\LingotekCliServiceTest::testDownloadTranslationsInvalidEntityTypeId()
- 3.3.x tests/src/Unit/Cli/LingotekCliServiceTest.php \Drupal\Tests\lingotek\Unit\Cli\LingotekCliServiceTest::testDownloadTranslationsInvalidEntityTypeId()
- 3.4.x tests/src/Unit/Cli/LingotekCliServiceTest.php \Drupal\Tests\lingotek\Unit\Cli\LingotekCliServiceTest::testDownloadTranslationsInvalidEntityTypeId()
- 3.5.x tests/src/Unit/Cli/LingotekCliServiceTest.php \Drupal\Tests\lingotek\Unit\Cli\LingotekCliServiceTest::testDownloadTranslationsInvalidEntityTypeId()
- 3.6.x tests/src/Unit/Cli/LingotekCliServiceTest.php \Drupal\Tests\lingotek\Unit\Cli\LingotekCliServiceTest::testDownloadTranslationsInvalidEntityTypeId()
- 3.7.x tests/src/Unit/Cli/LingotekCliServiceTest.php \Drupal\Tests\lingotek\Unit\Cli\LingotekCliServiceTest::testDownloadTranslationsInvalidEntityTypeId()
File
- tests/
src/ Unit/ Cli/ LingotekCliServiceTest.php, line 563
Class
- LingotekCliServiceTest
- @coversDefaultClass \Drupal\lingotek\Cli\LingotekCliService @group lingotek @preserveGlobalState disabled
Namespace
Drupal\Tests\lingotek\Unit\CliCode
public function testDownloadTranslationsInvalidEntityTypeId() {
$this->logger
->expects($this
->once())
->method('error');
$upload = $this->cliService
->downloadTranslations('xxxx', 1);
$this
->assertEquals($this->cliService::COMMAND_ERROR_ENTITY_TYPE_ID, $upload);
}