diff options
author | Lars Wirzenius <liw@liw.fi> | 2017-09-28 16:55:35 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2017-09-28 18:20:11 +0300 |
commit | 09e1b468299266eb9d607a42f5daddfd927ad96c (patch) | |
tree | 5b05a70f2b2c24ebda929ffec54e1496315c08a4 /yarns | |
parent | fba8d798f3846d7c88b467e33aa826a1b5f2ebe8 (diff) | |
download | qvisqve-09e1b468299266eb9d607a42f5daddfd927ad96c.tar.gz |
Add: check that resource type doesn't get listed
Diffstat (limited to 'yarns')
-rw-r--r-- | yarns/smoke.yarn | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/yarns/smoke.yarn b/yarns/smoke.yarn index a5c2ef2..d20d95d 100644 --- a/yarns/smoke.yarn +++ b/yarns/smoke.yarn @@ -41,6 +41,10 @@ This is an integration test suite for the Qvarn HTTP API. AND client requests GET /subjects using token THEN HTTP status code is 200 OK + WHEN client requests GET /subjects using token + THEN HTTP status code is 200 OK + AND search result does NOT contain { "id": "subject" } + WHEN client requests POST /subjects with token and body ... { ... "type": "subject", |