diff --git a/be/controlG/src/test/java/com/codesquad/controlG/DatabaseCleanup.java b/be/controlG/src/test/java/com/codesquad/controlG/DatabaseCleanup.java index 9b9a807..112807a 100644 --- a/be/controlG/src/test/java/com/codesquad/controlG/DatabaseCleanup.java +++ b/be/controlG/src/test/java/com/codesquad/controlG/DatabaseCleanup.java @@ -25,7 +25,7 @@ public class DatabaseCleanup implements InitializingBean { public void afterPropertiesSet() { try { DatabaseMetaData metaData = dataSource.getConnection().getMetaData(); - ResultSet tables = metaData.getTables("controlG", null, null, new String[]{"TABLE"}); + ResultSet tables = metaData.getTables("controlg", null, null, new String[]{"TABLE"}); while (tables.next()) { String tableName = tables.getString("TABLE_NAME"); tableNames.add(tableName); diff --git a/be/controlG/src/test/java/com/codesquad/controlG/annotation/AcceptanceTest.java b/be/controlG/src/test/java/com/codesquad/controlG/annotation/AcceptanceTest.java index 738f416..e6a8891 100644 --- a/be/controlG/src/test/java/com/codesquad/controlG/annotation/AcceptanceTest.java +++ b/be/controlG/src/test/java/com/codesquad/controlG/annotation/AcceptanceTest.java @@ -14,5 +14,6 @@ @Target(ElementType.TYPE) @ExtendWith(DatabaseInitializerExtension.class) @SpringBootTest(webEnvironment = WebEnvironment.DEFINED_PORT) +@ActiveProfiles("test") public @interface AcceptanceTest { }