Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
4bba1ad6
Commit
4bba1ad6
authored
Jun 12, 2019
by
Sanad Liaquat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix spaces in curly braces
parent
87c0c79d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
qa/qa/specs/features/browser_ui/1_manage/ee_group/group_saml_sso_spec.rb
...tures/browser_ui/1_manage/ee_group/group_saml_sso_spec.rb
+1
-1
No files found.
qa/qa/specs/features/browser_ui/1_manage/ee_group/group_saml_sso_spec.rb
View file @
4bba1ad6
...
...
@@ -132,7 +132,7 @@ module QA
def
add_user_to_group_via_api
(
username
,
group
,
access_level
)
api_client
=
Runtime
::
API
::
Client
.
new
(
:gitlab
)
response
=
get
Runtime
::
API
::
Request
.
new
(
api_client
,
"/users?username=
#{
username
}
"
).
url
post
Runtime
::
API
::
Request
.
new
(
api_client
,
group
.
api_members_path
).
url
,
{
user_id:
parse_body
(
response
).
first
[
:id
],
access_level:
access_level
}
post
Runtime
::
API
::
Request
.
new
(
api_client
,
group
.
api_members_path
).
url
,
{
user_id:
parse_body
(
response
).
first
[
:id
],
access_level:
access_level
}
end
end
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment