From 9dd410feec4fe4e85eb735ad0007adcf06fe03cc Mon Sep 17 00:00:00 2001 From: Gauvain Pocentek Date: Wed, 1 Nov 2017 16:01:40 +0100 Subject: Fix the CLI for objects without ID (API v4) Fixes #319 --- tools/cli_test_v4.sh | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/cli_test_v4.sh b/tools/cli_test_v4.sh index 813d85b..01f84e8 100644 --- a/tools/cli_test_v4.sh +++ b/tools/cli_test_v4.sh @@ -95,9 +95,18 @@ testcase "branch deletion" ' ' testcase "project upload" ' - GITLAB project upload --id "$PROJECT_ID" --filename '$(basename $0)' --filepath '$0' + GITLAB project upload --id "$PROJECT_ID" \ + --filename '$(basename $0)' --filepath '$0' >/dev/null 2>&1 ' testcase "project deletion" ' GITLAB project delete --id "$PROJECT_ID" ' + +testcase "application settings get" ' + GITLAB application-settings get >/dev/null 2>&1 +' + +testcase "application settings update" ' + GITLAB application-settings update --signup-enabled false +' -- cgit v1.2.1