Skip to content

Code Refactor - Fix actions model migration

Related tasks

Context

Actions have their own suite of tests to test the actions framework on its own. These are not migrating to the correct database; no _test suffix is being appended to the database name.

In addition to this, actions Models are not being migrated when performing system-wide tests.

Changes

  • Use test database (append _test suffix) when setting up action tests.
  • Rename actions.MigrateDB to actions.CleanAndMigrateDB.
  • Add actions.MigrateDB and actions.DropDB functions.
  • Add actions models to system-wide migration and cleanup functions.

Other information

Additional documentation

Merge request reports