ApplicationSetting.current doesn't work well in tests
Therefore we prefer
`Gitlab::CurrentSettings.current_application_settings`
and fix the tests by setting default_artifacts_expire_in to 0
to restore the original behaviour.
Showing
Please
register
or
sign in
to comment