We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e748f59 commit 469afb9Copy full SHA for 469afb9
test/puppetlabs/puppetdb/http/facts_test.clj
@@ -1968,7 +1968,7 @@
1968
(testing "factsets with package inventory query should ignore deactivated nodes"
1969
(let [responses (json/parse-string (slurp (:body (query-response
1970
method endpoint))))]
1971
- (is (not (contains? (into [] (map #(get % "certname") responses)) "foo4")))))
+ (is (not-any? #(= "foo4" %) (map #(get % "certname") responses)))))
1972
1973
(testing "factset queries should return appropriate results"
1974
(let [queries [["=" "certname" "foo1"]
0 commit comments