We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 54c338d commit 33bf8a0Copy full SHA for 33bf8a0
1 file changed
src/test/com/yetanalytics/lrs_test.clj
@@ -268,17 +268,13 @@
268
result-status]
269
(= result-status
270
(:status
271
- (try
272
- (curl/post
273
- "http://localhost:8080/xapi/statements"
274
- {:basic-auth ["username" "password"]
275
- :headers {"X-Experience-API-Version" version-header
276
- "Content-Type" "application/json;"}
277
- :body (json/generate-string test-statements)
278
- :throw :false})
279
- ;; babashka refuses not to throw
280
- (catch Exception _
281
- {:status 400}))))
+ (curl/post
+ "http://localhost:8080/xapi/statements"
+ {:basic-auth ["username" "password"]
+ :headers {"X-Experience-API-Version" version-header
+ "Content-Type" "application/json;"}
+ :body (json/generate-string test-statements)
+ :throw false})))
282
"0.9.5" 400
283
"1.0.0" 200
284
"1.0.1" 200
0 commit comments