Skip to content
Snippets Groups Projects
Commit 7aa9ea23 authored by Cam Saul's avatar Cam Saul
Browse files

unit test for GET /api/meta/db/form_input

parent 438e1d1a
No related branches found
No related tags found
No related merge requests found
......@@ -14,7 +14,25 @@
:name db-name
:details {:conn_str "host=localhost port=5432 dbname=fakedb user=cam"}}))
;; DB LIFECYCLE ENDPOINTS
;; # FORM INPUT
;; ## GET /api/meta/db/form_input
(expect
{:engines [["h2" "H2"]
["postgres" "PostgreSQL"]]
:timezones ["GMT"
"UTC"
"US/Alaska"
"US/Arizona"
"US/Central"
"US/Eastern"
"US/Hawaii"
"US/Mountain"
"US/Pacific"
"America/Costa_Rica"]}
((user->client :crowberto) :get 200 "meta/db/form_input"))
;; # DB LIFECYCLE ENDPOINTS
;; ## GET /api/meta/db/:id
(expect
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment