summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtools/functional_tests.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/tools/functional_tests.sh b/tools/functional_tests.sh
index acce6a9..825d41f 100755
--- a/tools/functional_tests.sh
+++ b/tools/functional_tests.sh
@@ -100,6 +100,18 @@ echo -n "Testing adding member to a project... "
$GITLAB project-member create --project-id $PROJECT_ID --user-id $USER_ID --access-level 40 >/dev/null 2>&1
$OK
+echo -n "Creating a file... "
+$GITLAB project-file create --project-id $PROJECT_ID --file-path README --branch-name master --content "CONTENT" --commit-message "Initial commit" >/dev/null 2>&1
+$OK
+
+echo -n "Creating a branch... "
+$GITLAB project-branch create --project-id $PROJECT_ID --branch-name branch1 --ref master >/dev/null 2>&1
+$OK
+
+echo -n "Deleting a branch... "
+$GITLAB project-branch delete --project-id $PROJECT_ID --name branch1 >/dev/null 2>&1
+$OK
+
echo -n "Testing project deletion... "
$GITLAB project delete --id $PROJECT_ID
$OK