You are here

public function FieldSchemaDataUninstallUpdateTest::testUpdateHookN in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/system/src/Tests/Update/FieldSchemaDataUninstallUpdateTest.php \Drupal\system\Tests\Update\FieldSchemaDataUninstallUpdateTest::testUpdateHookN()

Tests the upgrade path after fixing field schema data uninstallation.

File

core/modules/system/src/Tests/Update/FieldSchemaDataUninstallUpdateTest.php, line 33
Contains \Drupal\system\Tests\Update\FieldSchemaDataUninstallUpdateTest.

Class

FieldSchemaDataUninstallUpdateTest
Tests the upgrade path after fixing field schema data uninstallation.

Namespace

Drupal\system\Tests\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.');
}