Skip to content
Snippets Groups Projects
Commit 87692496 authored by Cameron T Saul's avatar Cameron T Saul
Browse files

whoops remove the old version of the test

parent 2cfa506c
No related branches found
No related tags found
No related merge requests found
......@@ -750,53 +750,28 @@
;;; ## :sensitive fields
;;; Make sure :sensitive information fields are never returned by the QP
(qp-expect-with-all-datasets
{:columns (->columns "id"
"last_login"
"name")
:cols [(users-col :id)
(users-col :last_login)
(users-col :name)]
:rows [[ 1 #inst "2014-04-01T08:30:00.000000000-00:00" "Plato Yeshua"]
[ 2 #inst "2014-12-05T15:15:00.000000000-00:00" "Felipinho Asklepios"]
[ 3 #inst "2014-11-06T16:15:00.000000000-00:00" "Kaneonuskatew Eiran"]
[ 4 #inst "2014-01-01T08:30:00.000000000-00:00" "Simcha Yan"]
[ 5 #inst "2014-10-03T17:30:00.000000000-00:00" "Quentin Sören"]
[ 6 #inst "2014-08-02T12:30:00.000000000-00:00" "Shad Ferdynand"]
[ 7 #inst "2014-08-02T09:30:00.000000000-00:00" "Conchúr Tihomir"]
[ 8 #inst "2014-02-01T10:15:00.000000000-00:00" "Szymon Theutrich"]
[ 9 #inst "2014-04-03T09:30:00.000000000-00:00" "Nils Gotam"]
[10 #inst "2014-07-03T19:30:00.000000000-00:00" "Frans Hevel"]
[11 #inst "2014-11-01T07:00:00.000000000-00:00" "Spiros Teofil"]
[12 #inst "2014-07-03T01:30:00.000000000-00:00" "Kfir Caj"]
[13 #inst "2014-08-01T10:30:00.000000000-00:00" "Dwight Gresham"]
[14 #inst "2014-10-03T13:45:00.000000000-00:00" "Broen Olujimi"]
[15 #inst "2014-08-01T12:45:00.000000000-00:00" "Rüstem Hebel"]]}
{:source_table (id :users)
:aggregation ["rows"]
:order_by [[(id :users :id) "ascending"]]})
(datasets/expect-with-all-datasets
{:status :completed,
:row_count 15,
:data
{:columns (->columns "id" "last_login" "name"),
:cols [(users-col :id) (users-col :last_login) (users-col :name)],
:rows [[1 "Plato Yeshua"]
[2 "Felipinho Asklepios"]
[3 "Kaneonuskatew Eiran"]
[4 "Simcha Yan"]
[5 "Quentin Sören"]
[6 "Shad Ferdynand"]
[7 "Conchúr Tihomir"]
[8 "Szymon Theutrich"]
[9 "Nils Gotam"]
[10 "Frans Hevel"]
[11 "Spiros Teofil"]
[12 "Kfir Caj"]
[13 "Dwight Gresham"]
[14 "Broen Olujimi"]
[15 "Rüstem Hebel"]]}}
:row_count 15
:data {:columns (->columns "id" "last_login" "name")
:cols [(users-col :id)
(users-col :last_login)
(users-col :name)],
:rows [[1 "Plato Yeshua"]
[2 "Felipinho Asklepios"]
[3 "Kaneonuskatew Eiran"]
[4 "Simcha Yan"]
[5 "Quentin Sören"]
[6 "Shad Ferdynand"]
[7 "Conchúr Tihomir"]
[8 "Szymon Theutrich"]
[9 "Nils Gotam"]
[10 "Frans Hevel"]
[11 "Spiros Teofil"]
[12 "Kfir Caj"]
[13 "Dwight Gresham"]
[14 "Broen Olujimi"]
[15 "Rüstem Hebel"]]}}
;; Filter out the timestamps from the results since they're hard to test :/
(-> (driver/process-query
{:type :query,
......
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