mirror of
https://github.com/Kingsrook/qqq.git
synced 2025-07-18 13:10:44 +00:00
Fixing test for updated version of h2
This commit is contained in:
@ -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")
|
||||||
|
@ -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(),
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user