namespace Drupal\Tests\system\Functional\UpdateSystem

Same name in other branches
  1. 11.x Drupal\Tests\system\Functional\UpdateSystem
  2. 9 Drupal\Tests\system\Functional\UpdateSystem
  3. 8.9.x Drupal\Tests\system\Functional\UpdateSystem
Object name File name Summary
BrokenCacheUpdateTest core/modules/system/tests/src/Functional/UpdateSystem/BrokenCacheUpdateTest.php Ensures that a broken or out-of-date element info cache is not used.
DependencyHookInvocationTest core/modules/system/tests/src/Functional/UpdateSystem/DependencyHookInvocationTest.php Tests the hook invocation for determining update dependencies.
DependencyMissingTest core/modules/system/tests/src/Functional/UpdateSystem/DependencyMissingTest.php Tests that missing update dependencies are correctly flagged.
DependencyOrderingTest core/modules/system/tests/src/Functional/UpdateSystem/DependencyOrderingTest.php Tests that update functions are run in the proper order.
EntityUpdateInitialTest core/modules/system/tests/src/Functional/UpdateSystem/EntityUpdateInitialTest.php Tests handling of existing initial keys during updates.
EquivalentUpdateTest core/modules/system/tests/src/Functional/UpdateSystem/EquivalentUpdateTest.php Tests that update hooks are properly run.
InvalidUpdateHookTest core/modules/system/tests/src/Functional/UpdateSystem/InvalidUpdateHookTest.php Tests that hook_update_8000() is disallowed.
NoPreExistingSchemaUpdateTest core/modules/system/tests/src/Functional/UpdateSystem/NoPreExistingSchemaUpdateTest.php Tries to update a module which has no pre-existing schema.
RebuildScriptTest core/modules/system/tests/src/Functional/UpdateSystem/RebuildScriptTest.php Tests the rebuild script access and functionality.
UpdateCacheTest core/modules/system/tests/src/Functional/UpdateSystem/UpdateCacheTest.php Tests caches during updates.
UpdatePathLastRemovedTest core/modules/system/tests/src/Functional/UpdateSystem/UpdatePathLastRemovedTest.php Tests that modules can define their last removed update function.
UpdatePathNewDependencyTest core/modules/system/tests/src/Functional/UpdateSystem/UpdatePathNewDependencyTest.php Modules can introduce new dependencies and enable them in update hooks.
UpdatePathTestBaseFilledTest core/modules/system/tests/src/Functional/UpdateSystem/UpdatePathTestBaseFilledTest.php Runs UpdatePathTestBase with a dump filled with content.
UpdatePathTestJavaScriptTest core/modules/system/tests/src/Functional/UpdateSystem/UpdatePathTestJavaScriptTest.php Tests the presence of JavaScript at update.php.
UpdatePathWithBrokenRoutingTest core/modules/system/tests/src/Functional/UpdateSystem/UpdatePathWithBrokenRoutingTest.php Tests the update path with a broken router.
UpdatePostUpdateExceptionTest core/modules/system/tests/src/Functional/UpdateSystem/UpdatePostUpdateExceptionTest.php Tests hook_post_update() when there is an exception in a post update.
UpdatePostUpdateFailingTest core/modules/system/tests/src/Functional/UpdateSystem/UpdatePostUpdateFailingTest.php Tests hook_post_update() when there are failing update hooks.
UpdatePostUpdateTest core/modules/system/tests/src/Functional/UpdateSystem/UpdatePostUpdateTest.php Tests hook_post_update().
UpdateRemovedPostUpdateTest core/modules/system/tests/src/Functional/UpdateSystem/UpdateRemovedPostUpdateTest.php Tests hook_removed_post_updates().
UpdateSchemaTest core/modules/system/tests/src/Functional/UpdateSystem/UpdateSchemaTest.php Tests that update hooks are properly run.
UpdateScriptTest core/modules/system/tests/src/Functional/UpdateSystem/UpdateScriptTest.php Tests the update script access and functionality.
UpdatesWith7xTest core/modules/system/tests/src/Functional/UpdateSystem/UpdatesWith7xTest.php Tests the minimum schema version when only 7.x update hooks are retained.

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