mirror of
https://github.com/gitlabhq/gitlabhq.git
synced 2025-07-25 17:08:32 +00:00
Add latest changes from gitlab-org/gitlab@18-1-stable-ee
This commit is contained in:
@ -19,7 +19,7 @@ module Ci
|
||||
private
|
||||
|
||||
def success?(status)
|
||||
(200..299).cover?(status)
|
||||
(200..299).cover?(status) || status == 302
|
||||
end
|
||||
end
|
||||
end
|
||||
|
@ -24,6 +24,7 @@ RSpec.describe Ci::JobToken::Middleware, feature_category: :secrets_management d
|
||||
200 | true
|
||||
201 | true
|
||||
204 | true
|
||||
302 | true
|
||||
400 | false
|
||||
403 | false
|
||||
404 | false
|
||||
|
Reference in New Issue
Block a user