Write tests that ensure hook_update_N is properly run

Created on 1 June 2015, almost 10 years ago
Updated 18 April 2023, about 2 years ago

Problem/Motivation

This is step 2 for #2447573: [meta] Make sure 8.x - 8.x hook_update_N() testing is possible β†’ .

Proposed resolution

The script/db generated from #2497323: Create a php script that can dump a database for testing update hooks β†’ will be loaded by the tests, update hooks will be run, and changes can then be asserted by the tests.

Remaining tasks

  • Write a few tests that alter tables that are part of the db dump (node, users, etc).
  • Figure what else, if anything, needs to be tested in this patch

User interface changes

API changes

πŸ“Œ Task
Status

Fixed

Version

8.0 ⚰️

Component
Database updateΒ  β†’

Last updated 17 days ago

No maintainer
Created by

πŸ‡ΊπŸ‡ΈUnited States jhedstrom Portland, OR

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • First commit to issue fork.
Production build 0.71.5 2024