From e132f8499a97f69f19bae3cebd2e57fb08be0e41 Mon Sep 17 00:00:00 2001 From: gregwilmer Date: Thu, 8 Nov 2018 13:41:22 -0500 Subject: [PATCH] Fix broken tests. --- .../src/test/resources/contentrouter-flow-test-config.sql | 2 +- metl-develop/src/test/resources/general-flow-test-config.sql | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/metl-develop/src/test/resources/contentrouter-flow-test-config.sql b/metl-develop/src/test/resources/contentrouter-flow-test-config.sql index 4923fd13a..93208ec3e 100644 --- a/metl-develop/src/test/resources/contentrouter-flow-test-config.sql +++ b/metl-develop/src/test/resources/contentrouter-flow-test-config.sql @@ -8,7 +8,7 @@ DELETE FROM METL_COMPONENT_SETTING WHERE COMPONENT_ID IN (SELECT ID FROM METL_CO DELETE FROM METL_COMPONENT WHERE PROJECT_VERSION_ID='a27e7f8c-7ef5-4684-9041-a2fa5682b366' ; DELETE FROM METL_RESOURCE_SETTING WHERE RESOURCE_ID IN (SELECT ID FROM METL_RESOURCE WHERE PROJECT_VERSION_ID='a27e7f8c-7ef5-4684-9041-a2fa5682b366' ); DELETE FROM METL_RESOURCE WHERE PROJECT_VERSION_ID='a27e7f8c-7ef5-4684-9041-a2fa5682b366' ; -DELETE FROM METL_MODEL_ATTRIB WHERE ENTITY_ID IN (SELECT ID FROM METL_MODEL_ENTITY WHERE MODEL_ID in (SELECT ID FROM METL_MODEL WHERE PROJECT_VERSION_ID='a27e7f8c-7ef5-4684-9041-a2fa5682b366' )); +DELETE FROM METL_MODEL_ATTRIB WHERE ENTITY_ID IN (SELECT ID FROM METL_MODEL_ENTITY WHERE MODEL_ID in (SELECT ID FROM METL_RELATIONAL_MODEL WHERE PROJECT_VERSION_ID='a27e7f8c-7ef5-4684-9041-a2fa5682b366' )); DELETE FROM METL_MODEL_ENTITY WHERE MODEL_ID in (SELECT ID FROM METL_RELATIONAL_MODEL WHERE PROJECT_VERSION_ID='a27e7f8c-7ef5-4684-9041-a2fa5682b366' ); DELETE FROM METL_RELATIONAL_MODEL WHERE PROJECT_VERSION_ID='a27e7f8c-7ef5-4684-9041-a2fa5682b366' ; DELETE FROM METL_FOLDER WHERE PROJECT_VERSION_ID='a27e7f8c-7ef5-4684-9041-a2fa5682b366'; diff --git a/metl-develop/src/test/resources/general-flow-test-config.sql b/metl-develop/src/test/resources/general-flow-test-config.sql index 40e747e1c..67e64ceaa 100644 --- a/metl-develop/src/test/resources/general-flow-test-config.sql +++ b/metl-develop/src/test/resources/general-flow-test-config.sql @@ -8,7 +8,7 @@ DELETE FROM METL_COMPONENT_SETTING WHERE COMPONENT_ID IN (SELECT ID FROM METL_CO DELETE FROM METL_COMPONENT WHERE PROJECT_VERSION_ID='a27e7f8c-7ef5-4684-9041-a2fa5682b366' ; DELETE FROM METL_RESOURCE_SETTING WHERE RESOURCE_ID IN (SELECT ID FROM METL_RESOURCE WHERE PROJECT_VERSION_ID='a27e7f8c-7ef5-4684-9041-a2fa5682b366' ); DELETE FROM METL_RESOURCE WHERE PROJECT_VERSION_ID='a27e7f8c-7ef5-4684-9041-a2fa5682b366' ; -DELETE FROM METL_MODEL_ATTRIB WHERE ENTITY_ID IN (SELECT ID FROM METL_MODEL_ENTITY WHERE MODEL_ID in (SELECT ID FROM METL_MODEL WHERE PROJECT_VERSION_ID='a27e7f8c-7ef5-4684-9041-a2fa5682b366' )); +DELETE FROM METL_MODEL_ATTRIB WHERE ENTITY_ID IN (SELECT ID FROM METL_MODEL_ENTITY WHERE MODEL_ID in (SELECT ID FROM METL_RELATIONAL_MODEL WHERE PROJECT_VERSION_ID='a27e7f8c-7ef5-4684-9041-a2fa5682b366' )); DELETE FROM METL_MODEL_ENTITY WHERE MODEL_ID in (SELECT ID FROM METL_RELATIONAL_MODEL WHERE PROJECT_VERSION_ID='a27e7f8c-7ef5-4684-9041-a2fa5682b366' ); DELETE FROM METL_RELATIONAL_MODEL WHERE PROJECT_VERSION_ID='a27e7f8c-7ef5-4684-9041-a2fa5682b366' ; DELETE FROM METL_FOLDER WHERE PROJECT_VERSION_ID='a27e7f8c-7ef5-4684-9041-a2fa5682b366';