public function LingotekUpgrade8222EnableDownloadInterimPreferenceTest::testUpgrade in Lingotek Translation 3.7.x
Same name and namespace in other branches
- 8.2 tests/src/Functional/Update/LingotekUpgrade8222EnableDownloadInterimPreferenceTest.php \Drupal\Tests\lingotek\Functional\Update\LingotekUpgrade8222EnableDownloadInterimPreferenceTest::testUpgrade()
- 3.0.x tests/src/Functional/Update/LingotekUpgrade8222EnableDownloadInterimPreferenceTest.php \Drupal\Tests\lingotek\Functional\Update\LingotekUpgrade8222EnableDownloadInterimPreferenceTest::testUpgrade()
- 3.1.x tests/src/Functional/Update/LingotekUpgrade8222EnableDownloadInterimPreferenceTest.php \Drupal\Tests\lingotek\Functional\Update\LingotekUpgrade8222EnableDownloadInterimPreferenceTest::testUpgrade()
- 3.2.x tests/src/Functional/Update/LingotekUpgrade8222EnableDownloadInterimPreferenceTest.php \Drupal\Tests\lingotek\Functional\Update\LingotekUpgrade8222EnableDownloadInterimPreferenceTest::testUpgrade()
- 3.3.x tests/src/Functional/Update/LingotekUpgrade8222EnableDownloadInterimPreferenceTest.php \Drupal\Tests\lingotek\Functional\Update\LingotekUpgrade8222EnableDownloadInterimPreferenceTest::testUpgrade()
- 3.4.x tests/src/Functional/Update/LingotekUpgrade8222EnableDownloadInterimPreferenceTest.php \Drupal\Tests\lingotek\Functional\Update\LingotekUpgrade8222EnableDownloadInterimPreferenceTest::testUpgrade()
- 3.5.x tests/src/Functional/Update/LingotekUpgrade8222EnableDownloadInterimPreferenceTest.php \Drupal\Tests\lingotek\Functional\Update\LingotekUpgrade8222EnableDownloadInterimPreferenceTest::testUpgrade()
- 3.6.x tests/src/Functional/Update/LingotekUpgrade8222EnableDownloadInterimPreferenceTest.php \Drupal\Tests\lingotek\Functional\Update\LingotekUpgrade8222EnableDownloadInterimPreferenceTest::testUpgrade()
Tests that the upgrade sets the value for the enable_download_interim preference.
File
- tests/
src/ Functional/ Update/ LingotekUpgrade8222EnableDownloadInterimPreferenceTest.php, line 43
Class
- LingotekUpgrade8222EnableDownloadInterimPreferenceTest
- Tests the upgrade path for setting enable_download_interim preference.
Namespace
Drupal\Tests\lingotek\Functional\UpdateCode
public function testUpgrade() {
$this
->assertNull($this->lingotekConfiguration
->getPreference('enable_download_interim'));
$this
->runUpdates();
$this
->assertTrue($this->lingotekConfiguration
->getPreference('enable_download_interim'));
}