diff --git a/.github/workflows/maven-ci.yml b/.github/workflows/maven-ci.yml index 97931a6..4e70ee2 100644 --- a/.github/workflows/maven-ci.yml +++ b/.github/workflows/maven-ci.yml @@ -53,7 +53,7 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v1 with: - node-version: 12 + node-version: 18 - name: Sematic Release run: | diff --git a/src/test/java/org/casbin/test/HibernateAdapterTest.java b/src/test/java/org/casbin/test/HibernateAdapterTest.java index 1e47f66..bf393dd 100644 --- a/src/test/java/org/casbin/test/HibernateAdapterTest.java +++ b/src/test/java/org/casbin/test/HibernateAdapterTest.java @@ -13,7 +13,7 @@ public class HibernateAdapterTest { private static final String DRIVER = "com.mysql.jdbc.Driver"; - private static final String URL = "jdbc:mysql://172.18.0.1:3306/casbin"; + private static final String URL = "jdbc:mysql://172.18.0.1:3306/casbin?serverTimezone=GMT%2B8&useSSL=false&allowPublicKeyRetrieval=true&rewriteBatchedStatements=true"; private static final String USERNAME = "root"; private static final String PASSWORD = "casbin_test";