You are here

protected function LingotekIntelligenceMetadataTranslationTest::setupContactEmailForAuthorIntelligenceSettings in Lingotek Translation 3.2.x

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

File

tests/src/Functional/LingotekIntelligenceMetadataTranslationTest.php, line 814

Class

LingotekIntelligenceMetadataTranslationTest
Tests if intelligence metadata is used when uploading and updating content.

Namespace

Drupal\Tests\lingotek\Functional

Code

protected function setupContactEmailForAuthorIntelligenceSettings() {
  $edit = [
    'intelligence_metadata[use_contact_email_for_author]' => TRUE,
  ];
  $this
    ->drupalPostForm(NULL, $edit, 'Save Lingotek Intelligence Metadata', [], 'lingotekintelligence-metadata-form');
}