public function LingotekUpgrade9000AppendTypeToTitleBooleanConversionTest::testUpgrade in Lingotek Translation 3.8.x
Same name and namespace in other branches
- 4.0.x tests/src/Functional/Update/LingotekUpgrade9000AppendTypeToTitleBooleanConversionTest.php \Drupal\Tests\lingotek\Functional\Update\LingotekUpgrade9000AppendTypeToTitleBooleanConversionTest::testUpgrade()
- 3.2.x tests/src/Functional/Update/LingotekUpgrade9000AppendTypeToTitleBooleanConversionTest.php \Drupal\Tests\lingotek\Functional\Update\LingotekUpgrade9000AppendTypeToTitleBooleanConversionTest::testUpgrade()
- 3.3.x tests/src/Functional/Update/LingotekUpgrade9000AppendTypeToTitleBooleanConversionTest.php \Drupal\Tests\lingotek\Functional\Update\LingotekUpgrade9000AppendTypeToTitleBooleanConversionTest::testUpgrade()
- 3.4.x tests/src/Functional/Update/LingotekUpgrade9000AppendTypeToTitleBooleanConversionTest.php \Drupal\Tests\lingotek\Functional\Update\LingotekUpgrade9000AppendTypeToTitleBooleanConversionTest::testUpgrade()
- 3.5.x tests/src/Functional/Update/LingotekUpgrade9000AppendTypeToTitleBooleanConversionTest.php \Drupal\Tests\lingotek\Functional\Update\LingotekUpgrade9000AppendTypeToTitleBooleanConversionTest::testUpgrade()
- 3.6.x tests/src/Functional/Update/LingotekUpgrade9000AppendTypeToTitleBooleanConversionTest.php \Drupal\Tests\lingotek\Functional\Update\LingotekUpgrade9000AppendTypeToTitleBooleanConversionTest::testUpgrade()
- 3.7.x tests/src/Functional/Update/LingotekUpgrade9000AppendTypeToTitleBooleanConversionTest.php \Drupal\Tests\lingotek\Functional\Update\LingotekUpgrade9000AppendTypeToTitleBooleanConversionTest::testUpgrade()
Tests the upgrade sets the value for the append_type_to_title preference.
File
- tests/
src/ Functional/ Update/ LingotekUpgrade9000AppendTypeToTitleBooleanConversionTest.php, line 42
Class
- LingotekUpgrade9000AppendTypeToTitleBooleanConversionTest
- Tests the upgrade path for updating append_type_to_title preference.
Namespace
Drupal\Tests\lingotek\Functional\UpdateCode
public function testUpgrade() {
$this
->assertSame('global_setting', $this->lingotekConfiguration
->getPreference('append_type_to_title'));
$this
->runUpdates();
$this
->assertSame(TRUE, $this->lingotekConfiguration
->getPreference('append_type_to_title'));
}