diff options
author | Lars Wirzenius <liw@liw.fi> | 2017-09-25 08:28:39 +0000 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2017-09-25 14:46:11 +0000 |
commit | de128969a9522bcad8baa45a2dc23595461a7630 (patch) | |
tree | 439608624747154046e5e36deab89669fa97ee7e /yarns | |
parent | a36bc323281be6aef85c2cd9876606e60ca1bf39 (diff) | |
download | qvisqve-de128969a9522bcad8baa45a2dc23595461a7630.tar.gz |
Add: smoke test for URL-encoded slashes in searches
Diffstat (limited to 'yarns')
-rw-r--r-- | yarns/smoke.yarn | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/yarns/smoke.yarn b/yarns/smoke.yarn index 23d4ae8..92304eb 100644 --- a/yarns/smoke.yarn +++ b/yarns/smoke.yarn @@ -245,6 +245,12 @@ Make sure searches are case-insensitive. ... "names": [ { "full_name": "Bruce" } ] ... } + WHEN client requests + ... GET /subjects/search/exact/full_name/Br%2Fce + ... using token + THEN HTTP status code is 200 OK + AND JSON body matches { "resources": [] } + GIVEN unique random identifier RANDOM WHEN client requests PUT /subjects/${ID1}/sub with token and body ... { "subfield": "${RANDOM}", "revision": "${REV1}" } |