You are here

protected function LingotekContentTypeBulkDebugTest::setUp in Lingotek Translation 8.2

Same name and namespace in other branches
  1. 4.0.x tests/src/Functional/LingotekContentTypeBulkDebugTest.php \Drupal\Tests\lingotek\Functional\LingotekContentTypeBulkDebugTest::setUp()
  2. 3.0.x tests/src/Functional/LingotekContentTypeBulkDebugTest.php \Drupal\Tests\lingotek\Functional\LingotekContentTypeBulkDebugTest::setUp()
  3. 3.1.x tests/src/Functional/LingotekContentTypeBulkDebugTest.php \Drupal\Tests\lingotek\Functional\LingotekContentTypeBulkDebugTest::setUp()
  4. 3.2.x tests/src/Functional/LingotekContentTypeBulkDebugTest.php \Drupal\Tests\lingotek\Functional\LingotekContentTypeBulkDebugTest::setUp()
  5. 3.3.x tests/src/Functional/LingotekContentTypeBulkDebugTest.php \Drupal\Tests\lingotek\Functional\LingotekContentTypeBulkDebugTest::setUp()
  6. 3.4.x tests/src/Functional/LingotekContentTypeBulkDebugTest.php \Drupal\Tests\lingotek\Functional\LingotekContentTypeBulkDebugTest::setUp()
  7. 3.5.x tests/src/Functional/LingotekContentTypeBulkDebugTest.php \Drupal\Tests\lingotek\Functional\LingotekContentTypeBulkDebugTest::setUp()
  8. 3.6.x tests/src/Functional/LingotekContentTypeBulkDebugTest.php \Drupal\Tests\lingotek\Functional\LingotekContentTypeBulkDebugTest::setUp()
  9. 3.7.x tests/src/Functional/LingotekContentTypeBulkDebugTest.php \Drupal\Tests\lingotek\Functional\LingotekContentTypeBulkDebugTest::setUp()
  10. 3.8.x tests/src/Functional/LingotekContentTypeBulkDebugTest.php \Drupal\Tests\lingotek\Functional\LingotekContentTypeBulkDebugTest::setUp()

Overrides LingotekTestBase::setUp

File

tests/src/Functional/LingotekContentTypeBulkDebugTest.php, line 23

Class

LingotekContentTypeBulkDebugTest
Tests debugging a config entity using the bulk management form.

Namespace

Drupal\Tests\lingotek\Functional

Code

protected function setUp() {
  parent::setUp();

  // Create Article node types.
  $this
    ->drupalCreateContentType([
    'type' => 'article',
    'name' => 'Article',
  ]);

  // Add a language.
  ConfigurableLanguage::createFromLangcode('es')
    ->setThirdPartySetting('lingotek', 'locale', 'es_MX')
    ->save();
  $this
    ->saveLingotekConfigTranslationSettings([
    'node_type' => 'automatic',
  ]);
}