diff --git a/modevo-consistency/src/test/java/test4giis/consistency/TestCheckConsistency.java b/modevo-consistency/src/test/java/test4giis/consistency/TestCheckConsistency.java index c4847d4..b33f485 100644 --- a/modevo-consistency/src/test/java/test4giis/consistency/TestCheckConsistency.java +++ b/modevo-consistency/src/test/java/test4giis/consistency/TestCheckConsistency.java @@ -154,6 +154,15 @@ public void testWireV2NewTableMigrationFromOneTable() throws IOException { testConsistency(name.getMethodName(), projectionAfterEvo, "wire", projectionBeforeEvo); } @Test + public void testWireV8NewTableMigrationFromPreviousVersion() throws IOException { + Map projectionAfterEvo = new HashMap(); + Map projectionBeforeEvo = new HashMap(); + projectionBeforeEvo.put("scim_user", "SELECT scim.id AS id FROM scim;"); + projectionAfterEvo.put("scim_user", "SELECT scim.id AS id FROM scim ORDER BY scim.id DESC;"); + projectionAfterEvo.put("scim_user_times", "SELECT scim.id AS id FROM scim ORDER BY scim.id DESC;"); + testConsistency(name.getMethodName(), projectionAfterEvo, "wire", projectionBeforeEvo); + } + @Test public void testWireV91NewTableMigrationFromOneTable() throws IOException { Map projectionAfterEvo = new HashMap(); Map projectionBeforeEvo = new HashMap();