Commit 6f6a7832 by Grzegorz Bizon

Merge branch '180-qa-fix-api-spec' into 'master'

Resolve 10.5.0 RC1 QA Failure with failing API specs Closes gitlab-qa#180 See merge request !16999
parents f32724da 4c45c106
Pipeline #17274179 passed with stages
in 67 minutes 1 second
......@@ -14,7 +14,7 @@ module QA
end
scenario 'submit request with a valid user name' do
get request.url, { params: { username: 'root' } }
get request.url, { params: { username: Runtime::User.name } }
expect_status(200)
expect(json_body).to be_an Array
......@@ -23,7 +23,7 @@ module QA
end
scenario 'submit request with an invalid user name' do
get request.url, { params: { username: 'invalid' } }
get request.url, { params: { username: SecureRandom.hex(10) } }
expect_status(200)
expect(json_body).to be_an Array
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment