public function LingotekModuleInstallationTest::testModuleWeightAgainstContentTranslation in Lingotek Translation 8.2
Same name and namespace in other branches
- 4.0.x tests/src/Functional/LingotekModuleInstallationTest.php \Drupal\Tests\lingotek\Functional\LingotekModuleInstallationTest::testModuleWeightAgainstContentTranslation()
- 3.0.x tests/src/Functional/LingotekModuleInstallationTest.php \Drupal\Tests\lingotek\Functional\LingotekModuleInstallationTest::testModuleWeightAgainstContentTranslation()
- 3.1.x tests/src/Functional/LingotekModuleInstallationTest.php \Drupal\Tests\lingotek\Functional\LingotekModuleInstallationTest::testModuleWeightAgainstContentTranslation()
- 3.2.x tests/src/Functional/LingotekModuleInstallationTest.php \Drupal\Tests\lingotek\Functional\LingotekModuleInstallationTest::testModuleWeightAgainstContentTranslation()
- 3.3.x tests/src/Functional/LingotekModuleInstallationTest.php \Drupal\Tests\lingotek\Functional\LingotekModuleInstallationTest::testModuleWeightAgainstContentTranslation()
- 3.4.x tests/src/Functional/LingotekModuleInstallationTest.php \Drupal\Tests\lingotek\Functional\LingotekModuleInstallationTest::testModuleWeightAgainstContentTranslation()
- 3.5.x tests/src/Functional/LingotekModuleInstallationTest.php \Drupal\Tests\lingotek\Functional\LingotekModuleInstallationTest::testModuleWeightAgainstContentTranslation()
- 3.6.x tests/src/Functional/LingotekModuleInstallationTest.php \Drupal\Tests\lingotek\Functional\LingotekModuleInstallationTest::testModuleWeightAgainstContentTranslation()
- 3.7.x tests/src/Functional/LingotekModuleInstallationTest.php \Drupal\Tests\lingotek\Functional\LingotekModuleInstallationTest::testModuleWeightAgainstContentTranslation()
- 3.8.x tests/src/Functional/LingotekModuleInstallationTest.php \Drupal\Tests\lingotek\Functional\LingotekModuleInstallationTest::testModuleWeightAgainstContentTranslation()
Tests that the weight of the module is higher than content_translation.
File
- tests/
src/ Functional/ LingotekModuleInstallationTest.php, line 47
Class
- LingotekModuleInstallationTest
- Tests that the module can be enabled.
Namespace
Drupal\Tests\lingotek\FunctionalCode
public function testModuleWeightAgainstContentTranslation() {
$this
->testEnableModule();
$extension_config = $this
->config('core.extension');
$content_translation_weight = $extension_config
->get('module.content_translation');
$lingotek_weight = $extension_config
->get('module.lingotek');
$this
->assertTrue($lingotek_weight > $content_translation_weight, 'Lingotek weight is higher than content_translation.');
}