public function LingotekContentTypeBulkTranslationTest::testNotSpecifiedLanguageConfigEntityInBulkManagement in Lingotek Translation 3.6.x
Same name and namespace in other branches
- 8.2 tests/src/Functional/LingotekContentTypeBulkTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekContentTypeBulkTranslationTest::testNotSpecifiedLanguageConfigEntityInBulkManagement()
- 4.0.x tests/src/Functional/LingotekContentTypeBulkTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekContentTypeBulkTranslationTest::testNotSpecifiedLanguageConfigEntityInBulkManagement()
- 3.0.x tests/src/Functional/LingotekContentTypeBulkTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekContentTypeBulkTranslationTest::testNotSpecifiedLanguageConfigEntityInBulkManagement()
- 3.1.x tests/src/Functional/LingotekContentTypeBulkTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekContentTypeBulkTranslationTest::testNotSpecifiedLanguageConfigEntityInBulkManagement()
- 3.2.x tests/src/Functional/LingotekContentTypeBulkTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekContentTypeBulkTranslationTest::testNotSpecifiedLanguageConfigEntityInBulkManagement()
- 3.3.x tests/src/Functional/LingotekContentTypeBulkTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekContentTypeBulkTranslationTest::testNotSpecifiedLanguageConfigEntityInBulkManagement()
- 3.4.x tests/src/Functional/LingotekContentTypeBulkTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekContentTypeBulkTranslationTest::testNotSpecifiedLanguageConfigEntityInBulkManagement()
- 3.5.x tests/src/Functional/LingotekContentTypeBulkTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekContentTypeBulkTranslationTest::testNotSpecifiedLanguageConfigEntityInBulkManagement()
- 3.7.x tests/src/Functional/LingotekContentTypeBulkTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekContentTypeBulkTranslationTest::testNotSpecifiedLanguageConfigEntityInBulkManagement()
- 3.8.x tests/src/Functional/LingotekContentTypeBulkTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekContentTypeBulkTranslationTest::testNotSpecifiedLanguageConfigEntityInBulkManagement()
Tests that no config entity is uploaded or listed if has not specified language.
File
- tests/
src/ Functional/ LingotekContentTypeBulkTranslationTest.php, line 1686
Class
- LingotekContentTypeBulkTranslationTest
- Tests translating a config entity using the bulk management form.
Namespace
Drupal\Tests\lingotek\FunctionalCode
public function testNotSpecifiedLanguageConfigEntityInBulkManagement() {
$this
->drupalCreateContentType([
'type' => 'und_language_content_type',
'name' => 'Not specified language content type',
'langcode' => LanguageInterface::LANGCODE_NOT_SPECIFIED,
]);
$this
->goToConfigBulkManagementForm('node_type');
// Nothing was uploaded even with automatic profile, and nothing is listed
// for upload.
$this
->assertNull(\Drupal::state()
->get('lingotek.uploaded_title'));
$this
->assertNoText('Not specified language content type');
$this
->assertText('Article content type');
}