Skip to content
Snippets Groups Projects
Commit 0fd0d25a authored by Allen Gilliland's avatar Allen Gilliland
Browse files

fix unit tests to account for the fact that `:is_sample` is now part of all Database objects.

parent ea80a312
Branches
Tags
No related merge requests found
......@@ -49,6 +49,7 @@
:id $
:updated_at $
:name "Test Database"
:is_sample false
:organization_id nil
:description nil})
((user->client :rasta) :get 200 (format "database/%d" (db-id))))
......@@ -62,6 +63,7 @@
:details $
:updated_at $
:name "Test Database"
:is_sample false
:organization_id nil
:description nil})
((user->client :crowberto) :get 200 (format "database/%d" (db-id))))
......@@ -77,6 +79,7 @@
:details {:host "localhost", :port 5432, :dbname "fakedb", :user "cam"}
:updated_at $
:name db-name
:is_sample false
:organization_id nil
:description nil})
(create-db db-name)))
......@@ -132,6 +135,7 @@
:id $
:updated_at $
:name "Test Database"
:is_sample false
:organization_id nil
:description nil})))
(match-$ (sel :one Database :name db-name)
......@@ -140,6 +144,7 @@
:id $
:updated_at $
:name $
:is_sample false
:organization_id nil
:description nil}))))
(do
......@@ -163,6 +168,7 @@
:id $
:updated_at $
:name "Test Database"
:is_sample false
:organization_id nil
:description nil
:tables [(match-$ (Table (id :categories))
......
......@@ -25,6 +25,7 @@
:id $
:updated_at $
:name "Test Database"
:is_sample false
:organization_id nil
:description nil})
:name "USERS"
......
......@@ -67,6 +67,7 @@
:id $
:updated_at $
:name "Test Database"
:is_sample false
:organization_id nil
:description nil})
:name "VENUES"
......@@ -128,6 +129,7 @@
:id $
:updated_at $
:name "Test Database"
:is_sample false
:organization_id nil
:description nil})
:name "CATEGORIES"
......@@ -208,6 +210,7 @@
:id $
:updated_at $
:name "Test Database"
:is_sample false
:organization_id nil
:description nil})
:name "USERS"
......@@ -321,6 +324,7 @@
:id $
:updated_at $
:name "Test Database"
:is_sample false
:organization_id nil
:description nil})
:name "USERS"
......@@ -418,6 +422,7 @@
{:description nil
:organization_id $
:name "Test Database"
:is_sample false
:updated_at $
:details $
:id $
......@@ -484,6 +489,7 @@
{:description nil,
:organization_id nil,
:name "Test Database",
:is_sample false,
:updated_at $,
:id $,
:engine "h2",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment