 
 
 ;; ## POST /api/meta/field/:id/value_map_update
-(expect
-    [;; (1)
-     {:status "success"}
-     ;; (2)
-     (match-$ (sel :one FieldValues :field_id (field->id :venues :price))
-       {:field_id (field->id :venues :price)
-        :human_readable_values {}
-        :values [1 2 3 4]
-        :updated_at $
-        :created_at $
-        :id $})
-     ;; (3)
-     {:status "success"}
-     ;; (4)
+
+;; Check that we can set values
+(expect-eval-actual-first
+    [{:status "success"}
      (match-$ (sel :one FieldValues :field_id (field->id :venues :price))
        {:field_id (field->id :venues :price)
         :human_readable_values {:1 "$"

        :updated_at $
        :created_at $
        :id $})]
  [;; (1) Check that we can unset values
   (do (upd FieldValues (:id (field->field-values :venues :price)) :human_readable_values {:1 "$"      ; make sure they're set
                                                                                           :2 "$$"
                                                                                           :3 "$$$"
                                                                                           :4 "$$$$"})
       ((user->client :rasta) :post 200 (format "meta/field/%d/value_map_update" (field->id :venues :price))
        {:values_map {}}))
   ;; (2) Check the unset values
   ((user->client :rasta) :get 200 (format "meta/field/%d/values" (field->id :venues :price)))
   ;; (3) Check that we can set values
   ((user->client :rasta) :post 200 (format "meta/field/%d/value_map_update" (field->id :venues :price))
    {:values_map {:1 "$"
                  :2 "$$"
                  :3 "$$$"
                  :4 "$$$$"}})
   ;; (4) Check the set values
   ((user->client :rasta) :get 200 (format "meta/field/%d/values" (field->id :venues :price)))])

                             [field-values :refer [FieldValues]]
                             [table :refer [Table]])
            [metabase.test-data :refer :all]
            metabase.test-setup
            [metabase.test.util :refer [match-$ expect-eval-actual-first]]))


