From aca736a0e8b0a34739077e7a2bdc4df4445ece1e Mon Sep 17 00:00:00 2001 From: hendisantika Date: Fri, 24 May 2024 07:52:48 +0700 Subject: [PATCH] =?UTF-8?q?#203=20-=20Setup=20CICD=20:three:=F0=9F=AB=B8?= =?UTF-8?q?=F0=9F=8C=80=E2=9C=8F=EF=B8=8F=F0=9F=93=97=F0=9F=90=A7?= =?UTF-8?q?=F0=9F=90=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/application.properties | 2 +- .../onlinebanking/OnlineBankingApplicationTests.java | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 3190857..ef47d19 100755 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -2,7 +2,7 @@ # = DATA SOURCE # =============================== # Set here configurations for the database connection -spring.datasource.url=jdbc:mysql://localhost:3306/onlinebanking2?createDatabaseIfNotExist=true&useUnicode=true&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=Asia/Jakarta&useSSL=false +spring.datasource.url=jdbc:mysql://localhost:3306/onlinebanking2?createDatabaseIfNotExist=true&useUnicode=true&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=Asia/Jakarta&useSSL=false&allowPublicKeyRetrieval=true # Username and secret spring.datasource.username=root spring.datasource.password=root diff --git a/src/test/java/com/hendisantika/onlinebanking/OnlineBankingApplicationTests.java b/src/test/java/com/hendisantika/onlinebanking/OnlineBankingApplicationTests.java index 65d733a..4b3f715 100755 --- a/src/test/java/com/hendisantika/onlinebanking/OnlineBankingApplicationTests.java +++ b/src/test/java/com/hendisantika/onlinebanking/OnlineBankingApplicationTests.java @@ -1,11 +1,8 @@ package com.hendisantika.onlinebanking; -import org.junit.Test; -import org.junit.runner.RunWith; +import org.junit.jupiter.api.Test; import org.springframework.boot.test.context.SpringBootTest; -import org.springframework.test.context.junit4.SpringRunner; -@RunWith(SpringRunner.class) @SpringBootTest public class OnlineBankingApplicationTests {