mirror of
https://github.com/gitlabhq/gitlabhq.git
synced 2025-07-29 12:40:18 +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
|
private
|
||||||
|
|
||||||
def success?(status)
|
def success?(status)
|
||||||
(200..299).cover?(status)
|
(200..299).cover?(status) || status == 302
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -24,6 +24,7 @@ RSpec.describe Ci::JobToken::Middleware, feature_category: :secrets_management d
|
|||||||
200 | true
|
200 | true
|
||||||
201 | true
|
201 | true
|
||||||
204 | true
|
204 | true
|
||||||
|
302 | true
|
||||||
400 | false
|
400 | false
|
||||||
403 | false
|
403 | false
|
||||||
404 | false
|
404 | false
|
||||||
|
Reference in New Issue
Block a user