From 22f785dafa67d4f0622b0ff8e33c5331175a1a3f Mon Sep 17 00:00:00 2001 From: gfleury Date: Fri, 20 Mar 2020 08:29:14 -0300 Subject: [PATCH] Adding build-status api to mocked server --- test/bb-mock-server/go/routers.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/bb-mock-server/go/routers.go b/test/bb-mock-server/go/routers.go index 3b33a9d..ff34d9b 100644 --- a/test/bb-mock-server/go/routers.go +++ b/test/bb-mock-server/go/routers.go @@ -1402,7 +1402,7 @@ var routes = Routes{ Route{ "GetCommitStatus", strings.ToUpper("Get"), - "/rest/rest/build-status/1.0/commits/{commitId}", + "/rest/build-status/1.0/commits/{commitId}", GetCommitStatus, }, @@ -1416,7 +1416,7 @@ var routes = Routes{ Route{ "SetCommitStatus", strings.ToUpper("Post"), - "/rest/rest/build-status/1.0/commits/{commitId}", + "/rest/build-status/1.0/commits/{commitId}", SetCommitStatus, }, }