summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorGauvain Pocentek <gauvain@pocentek.net>2017-11-01 16:01:40 +0100
committerGauvain Pocentek <gauvain@pocentek.net>2017-11-01 16:01:40 +0100
commit9dd410feec4fe4e85eb735ad0007adcf06fe03cc (patch)
tree7185cb1af206e4a72f2d1908c8f81cd743b68c24 /tools
parentd415cc0929aed8bf95cbbb54f64d457e42d77696 (diff)
downloadgitlab-9dd410feec4fe4e85eb735ad0007adcf06fe03cc.tar.gz
Fix the CLI for objects without ID (API v4)
Fixes #319
Diffstat (limited to 'tools')
-rw-r--r--tools/cli_test_v4.sh11
1 files changed, 10 insertions, 1 deletions
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
+'