Skip to content

Commit

Permalink
debug: instrumentation disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
allentiak committed Dec 6, 2024
1 parent 97612ea commit fe7291c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/rest-util/test/blaze/middleware/fhir/output_test.clj
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@
:end)

(deftest binary-resource-test
(st/unstrument)
(testing "returning the resource"
(testing "JSON"
(given (call (binary-resource-handler-200 {:content-type "text/plain" :data "MTA1NjE0Cg=="}) {:headers {"accept" "application/fhir+json"}})
Expand Down Expand Up @@ -229,6 +230,7 @@
:body := nil)))

(testing "failing binary emit"
(st/unstrument)
(testing "invalid base64 representation of a binary resource (from JSON)"
(given (call (binary-resource-handler-200 {:content-type "application/pdf" :data "MTANjECg=="}) {})
:status := 500
Expand Down

0 comments on commit fe7291c

Please sign in to comment.