Episerver.Marketing.Testing breaks database migrations

Found in

EPiServer.Marketing.Testing 2.5.3

Fixed in

EPiServer.Marketing.Testing 2.5.9

Created

Oct 18, 2018

Updated

Apr 19, 2019

State

Closed, Fixed and tested


Description

Steps to reproduce

  1. Install an empty project from Visual Studio.
  2. Upgrade the site to CMS.Core 11.10.0 and Marketing.Testing 2.5.3.
  3. Build the project.
  4. Set this setting in the episerver.framework node.

   createDatabaseSchema="true" updateDatabaseSchema="true"

  1. Create an empty database (without Episerver tables).
  2. Replace the database with the existing one.
  3. Start the site.

Expect:
The site works.
Actual:
An exception displays.