public function LingotekContentEntityGetProfileHookTest::testProfileWithNullProfile in Lingotek Translation 3.5.x
Same name and namespace in other branches
- 8.2 tests/src/Functional/LingotekContentEntityGetProfileHookTest.php \Drupal\Tests\lingotek\Functional\LingotekContentEntityGetProfileHookTest::testProfileWithNullProfile()
- 4.0.x tests/src/Functional/LingotekContentEntityGetProfileHookTest.php \Drupal\Tests\lingotek\Functional\LingotekContentEntityGetProfileHookTest::testProfileWithNullProfile()
- 3.0.x tests/src/Functional/LingotekContentEntityGetProfileHookTest.php \Drupal\Tests\lingotek\Functional\LingotekContentEntityGetProfileHookTest::testProfileWithNullProfile()
- 3.1.x tests/src/Functional/LingotekContentEntityGetProfileHookTest.php \Drupal\Tests\lingotek\Functional\LingotekContentEntityGetProfileHookTest::testProfileWithNullProfile()
- 3.2.x tests/src/Functional/LingotekContentEntityGetProfileHookTest.php \Drupal\Tests\lingotek\Functional\LingotekContentEntityGetProfileHookTest::testProfileWithNullProfile()
- 3.3.x tests/src/Functional/LingotekContentEntityGetProfileHookTest.php \Drupal\Tests\lingotek\Functional\LingotekContentEntityGetProfileHookTest::testProfileWithNullProfile()
- 3.4.x tests/src/Functional/LingotekContentEntityGetProfileHookTest.php \Drupal\Tests\lingotek\Functional\LingotekContentEntityGetProfileHookTest::testProfileWithNullProfile()
- 3.6.x tests/src/Functional/LingotekContentEntityGetProfileHookTest.php \Drupal\Tests\lingotek\Functional\LingotekContentEntityGetProfileHookTest::testProfileWithNullProfile()
- 3.7.x tests/src/Functional/LingotekContentEntityGetProfileHookTest.php \Drupal\Tests\lingotek\Functional\LingotekContentEntityGetProfileHookTest::testProfileWithNullProfile()
- 3.8.x tests/src/Functional/LingotekContentEntityGetProfileHookTest.php \Drupal\Tests\lingotek\Functional\LingotekContentEntityGetProfileHookTest::testProfileWithNullProfile()
Tests that a profile can be overridden before uploading.
File
- tests/
src/ Functional/ LingotekContentEntityGetProfileHookTest.php, line 227
Class
- LingotekContentEntityGetProfileHookTest
- Tests the hooks for getting content entity associated profile.
Namespace
Drupal\Tests\lingotek\FunctionalCode
public function testProfileWithNullProfile() {
$this
->saveLingotekContentTranslationSettings([
'node' => [
'null_profile' => [
'profiles' => 'manual',
'fields' => [
'title' => 1,
],
],
],
]);
// Create a node with group 1 profile.
$edit = [];
$edit['title[0][value]'] = 'Llamas are cool';
$edit['langcode[0][value]'] = 'en';
$this
->saveAndPublishNodeForm($edit, 'null_profile');
$this
->goToContentBulkManagementForm();
}