function FieldSchemaDataUninstallUpdateTest::testUpdateHookN

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\Update

Code

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.');
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.