Fixing test for updated version of h2

This commit is contained in:
2022-06-13 15:27:01 -05:00
parent f6fff7ca25
commit e3a7105b99
2 changed files with 2 additions and 1 deletions

View File

@ -203,6 +203,7 @@ class QJavalinImplementationTest
Map<String, Serializable> body = new HashMap<>(); Map<String, Serializable> body = new HashMap<>();
body.put("firstName", "Bobby"); body.put("firstName", "Bobby");
body.put("lastName", "Hull"); body.put("lastName", "Hull");
body.put("email", "bobby@hull.com");
HttpResponse<String> response = Unirest.post(BASE_URL + "/data/person") HttpResponse<String> response = Unirest.post(BASE_URL + "/data/person")
.header("Content-Type", "application/json") .header("Content-Type", "application/json")

View File

@ -22,7 +22,7 @@
DROP TABLE IF EXISTS person; DROP TABLE IF EXISTS person;
CREATE TABLE person CREATE TABLE person
( (
id SERIAL, id INT AUTO_INCREMENT,
create_date TIMESTAMP DEFAULT now(), create_date TIMESTAMP DEFAULT now(),
modify_date TIMESTAMP DEFAULT now(), modify_date TIMESTAMP DEFAULT now(),