@@ -181,7 +181,7 @@
|
||||
(println "Test 15: the todo API without a session returns 401")
|
||||
(assert-eq "GET list" 401 (:status (get* (str base-url "/api/todos"))))
|
||||
(assert-eq "POST create" 401 (:status (post-json* (str base-url "/api/todos") "{\"title\":\"x\"}")))
|
||||
(assert-eq "GET one" 401 (:status (get* (str base-url "/api/todos/1"))))
|
||||
(assert-eq "GET one" 401 (:status (get* (str base-url "/api/todos/3f2b8c1e-5a47-4d0e-9b6a-1c2d3e4f5a6b"))))
|
||||
(println)
|
||||
|
||||
(println "Test 16: POST /mcp without a token returns 401 pointing at the OAuth metadata")
|
||||
|
||||
Reference in New Issue
Block a user