From f6fff7ca2517a08101306616ee4921702a7f47cb Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 13 Jun 2022 20:25:19 +0000 Subject: [PATCH 1/2] Bump h2 from 1.4.197 to 2.1.210 Bumps [h2](https://github.com/h2database/h2database) from 1.4.197 to 2.1.210. - [Release notes](https://github.com/h2database/h2database/releases) - [Commits](https://github.com/h2database/h2database/compare/version-1.4.197...version-2.1.210) --- updated-dependencies: - dependency-name: com.h2database:h2 dependency-type: direct:development ... Signed-off-by: dependabot[bot] --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 6c3e7db1..da3cd77e 100644 --- a/pom.xml +++ b/pom.xml @@ -75,7 +75,7 @@ com.h2database h2 - 1.4.197 + 2.1.210 test From e3a7105b9960dd4f2fac81d086afb4ce5495e72a Mon Sep 17 00:00:00 2001 From: Darin Kelkhoff Date: Mon, 13 Jun 2022 15:27:01 -0500 Subject: [PATCH 2/2] Fixing test for updated version of h2 --- .../qqq/backend/javalin/QJavalinImplementationTest.java | 1 + src/test/resources/prime-test-database.sql | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/test/java/com/kingsrook/qqq/backend/javalin/QJavalinImplementationTest.java b/src/test/java/com/kingsrook/qqq/backend/javalin/QJavalinImplementationTest.java index 5f17251a..06189301 100644 --- a/src/test/java/com/kingsrook/qqq/backend/javalin/QJavalinImplementationTest.java +++ b/src/test/java/com/kingsrook/qqq/backend/javalin/QJavalinImplementationTest.java @@ -203,6 +203,7 @@ class QJavalinImplementationTest Map body = new HashMap<>(); body.put("firstName", "Bobby"); body.put("lastName", "Hull"); + body.put("email", "bobby@hull.com"); HttpResponse response = Unirest.post(BASE_URL + "/data/person") .header("Content-Type", "application/json") diff --git a/src/test/resources/prime-test-database.sql b/src/test/resources/prime-test-database.sql index 0780239c..be858987 100644 --- a/src/test/resources/prime-test-database.sql +++ b/src/test/resources/prime-test-database.sql @@ -22,7 +22,7 @@ DROP TABLE IF EXISTS person; CREATE TABLE person ( - id SERIAL, + id INT AUTO_INCREMENT, create_date TIMESTAMP DEFAULT now(), modify_date TIMESTAMP DEFAULT now(),