public function FieldSchemaDataUninstallUpdateTest::testUpdateHookN in Drupal 8
Tests the upgrade path after fixing field schema data uninstallation.
File
- core/
modules/ system/ tests/ src/ Functional/ Update/ FieldSchemaDataUninstallUpdateTest.php, line 36
Class
- FieldSchemaDataUninstallUpdateTest
- Tests the upgrade path after fixing field schema data uninstallation.
Namespace
Drupal\Tests\system\Functional\UpdateCode
public function testUpdateHookN() {
$this
->assertFieldSchemaData(TRUE, 'Field schema data to be purged found before update.');
$this
->runUpdates();
$this
->assertFieldSchemaData(FALSE, 'No field schema data to be purged found after update.');
}