Skip to content
Snippets Groups Projects
Commit 809f9c8a authored by Simon Belak's avatar Simon Belak
Browse files

Remove async tests

parent 849c8731
Branches
Tags
No related merge requests found
(ns metabase.api.async-test
"Tests for /api/async endpoints."
(:require [expectations :refer :all]
[metabase.test.async :refer [result!]]
[metabase.test.data :refer :all]
[metabase.test.data.users :refer :all]))
(expect
true
(-> ((user->client :rasta) :get 200 (str "x-ray/field/" (id :venues :price)))
:job-id
number?))
(expect
true
(let [client (user->client :rasta)
job-id (:job-id (client :get 200 (str "x-ray/field/" (id :venues :price))))]
(result! job-id)
(-> (client :get 200 (str "async/" job-id))
:result
(contains? :features))))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment