From 87692496b0cb5d8cc531b90b0ca0d2b494de6b20 Mon Sep 17 00:00:00 2001
From: Cameron T Saul <camsaul@Camerons-Mac-Pro.local>
Date: Thu, 4 Jun 2015 13:23:13 -0700
Subject: [PATCH] whoops remove the old version of the test

---
 test/metabase/driver/query_processor_test.clj | 65 ++++++-------------
 1 file changed, 20 insertions(+), 45 deletions(-)

diff --git a/test/metabase/driver/query_processor_test.clj b/test/metabase/driver/query_processor_test.clj
index 78bfab253ab..7d0ccf004a0 100644
--- a/test/metabase/driver/query_processor_test.clj
+++ b/test/metabase/driver/query_processor_test.clj
@@ -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,
-- 
GitLab