Skip to content
Snippets Groups Projects
Commit 7102102a authored by Tim Macdonald's avatar Tim Macdonald Committed by Braden Shepherdson
Browse files

Stricter test for unexpected parameter warning

parent 98fecd3e
No related branches found
No related tags found
No related merge requests found
......@@ -98,7 +98,9 @@
:zip 2999
:lonlat [0.0 0.0]}}))))
(is (some (fn [{message :msg, :as entry}]
(when (str/includes? (str message) "Unexpected parameters")
(when (str/includes? (str message)
(str "Unexpected parameters at [:post \"/post/test-address\"]: [:tags :address :id]\n"
"Please add them to the schema or remove them from the API client"))
entry))
(mb.logger/messages))))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment