public function LingotekSplitDownloadAllPreferenceUpdate8220Test::testUpgrade in Lingotek Translation 8.2
Tests that the upgrade sets the correct field formatter id in a view.
File
- tests/
src/ Functional/ Update/ LingotekSplitDownloadAllPreferenceUpdate8220Test.php, line 42
Class
- LingotekSplitDownloadAllPreferenceUpdate8220Test
- Tests the upgrade path for setting split_download_all preference.
Namespace
Drupal\Tests\lingotek\Functional\UpdateCode
public function testUpgrade() {
$this
->assertNull($this->lingotekConfiguration
->getPreference('split_download_all'));
$this
->runUpdates();
$this
->assertFalse($this->lingotekConfiguration
->getPreference('split_download_all'));
}