From a90f1bf06ef576c0c259139d108f0ceb0c63a729 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sat, 25 Nov 2017 18:58:40 +0100 Subject: Fix: PUT /projects/foo with no foo existing, now an error --- yarns/100-projects.yarn | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'yarns/100-projects.yarn') 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 -- cgit v1.2.1