summaryrefslogtreecommitdiff
path: root/tests/functional/api/test_groups.py
diff options
context:
space:
mode:
authorAbhishek Singh <abhiandthetruth@gmail.com>2022-11-22 04:44:47 +0530
committerGitHub <noreply@github.com>2022-11-22 00:14:47 +0100
commit1020ce965ff0cd3bfc283d4f0ad40e41e4d1bcee (patch)
tree1e3be865297737f5b147d26ec3a05ae6ef8d19d7 /tests/functional/api/test_groups.py
parent65abb85be7fc8ef57b295296111dac0a97ed1c49 (diff)
downloadgitlab-1020ce965ff0cd3bfc283d4f0ad40e41e4d1bcee.tar.gz
feat: add support for SAML group links (#2367)
Diffstat (limited to 'tests/functional/api/test_groups.py')
-rw-r--r--tests/functional/api/test_groups.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/functional/api/test_groups.py b/tests/functional/api/test_groups.py
index 51fbe32..ec381d5 100644
--- a/tests/functional/api/test_groups.py
+++ b/tests/functional/api/test_groups.py
@@ -304,3 +304,11 @@ def test_group_transfer(gl, group):
transferred_group = gl.groups.get(transfer_group.id)
assert transferred_group.path == transferred_group.full_path
+
+
+@pytest.mark.gitlab_premium
+@pytest.mark.xfail(reason="need to setup an identity provider or it's mock")
+def test_group_saml_group_links(group):
+ group.saml_group_links.create(
+ {"saml_group_name": "saml-group-1", "access_level": 10}
+ )