diff --git a/src/main/resources/application.yaml b/src/main/resources/application.yaml index 24ef874b..0e0e2a55 100644 --- a/src/main/resources/application.yaml +++ b/src/main/resources/application.yaml @@ -3,7 +3,7 @@ spring: driver-class-name: com.mysql.cj.jdbc.Driver username: root password: root - url: jdbc:mysql://localhost:3308/ootw + url: jdbc:mysql://localhost:3306/ootw jpa: hibernate: ddl-auto: validate diff --git a/src/test/resources/application-test.yaml b/src/test/resources/application-test.yaml new file mode 100644 index 00000000..0e0e2a55 --- /dev/null +++ b/src/test/resources/application-test.yaml @@ -0,0 +1,10 @@ +spring: + datasource: + driver-class-name: com.mysql.cj.jdbc.Driver + username: root + password: root + url: jdbc:mysql://localhost:3306/ootw + jpa: + hibernate: + ddl-auto: validate + open-in-view: false