Details
-
Type:
Enhancement
-
Status: Closed
-
Priority:
TBD
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: Platform 2.1.3, Core 2.2.0
-
Component/s: None
-
Labels:None
-
Complexity:Low
Description
Within BaseContextSensitiveTest, there is a method "initializeInMemoryDatabase" which initializes the in-memory database with some test data.
This method also manually alters the concept table to so that concept_id is automatically incremented... this is necessary because Concept uses a custom identity generator.
In some cases, developers may want to write tests that do NOT initialize the in-memory database with test data, but do want to properly set up the Concept table (and any other tables that might use a custom identity generator in the future).
To do this, that part of the code should be broken out into a separate public method.