diff options
author | Lars Wirzenius <liw@liw.fi> | 2017-11-25 18:58:40 +0100 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2017-11-25 18:58:40 +0100 |
commit | a90f1bf06ef576c0c259139d108f0ceb0c63a729 (patch) | |
tree | 5634ebb0fc360d26657cce1e3345dcd12ec4e329 /yarns | |
parent | 2d4733f446dd4e62a554bfe637b1d595571842f8 (diff) | |
download | ick2-a90f1bf06ef576c0c259139d108f0ceb0c63a729.tar.gz |
Fix: PUT /projects/foo with no foo existing, now an error
Diffstat (limited to 'yarns')
-rw-r--r-- | yarns/100-projects.yarn | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/yarns/100-projects.yarn b/yarns/100-projects.yarn index de7f9c7..aa04b7a 100644 --- a/yarns/100-projects.yarn +++ b/yarns/100-projects.yarn @@ -203,4 +203,11 @@ Creating a new project with the same name is forbidden. WHEN user makes request GET /projects/website THEN result has status code 404 + WHEN user makes request PUT /projects/nosuchproject with a valid token and body + ... { + ... "project": "nosuchproject", + ... "pipelines": [] + ... } + THEN result has status code 404 + FINALLY stop ick controller |