diff options
author | Rémy Coutable <remy@rymai.me> | 2018-12-19 17:39:45 +0100 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2018-12-19 17:43:12 +0100 |
commit | ecb847fd303f8daab91c224d747f086eefaeca7c (patch) | |
tree | 394d32eb01287c0518781a0742fede820caa386a /lib | |
parent | 806ea5762baec558a85cd3edd36f82839bb1c904 (diff) | |
download | gitlab-ce-ecb847fd303f8daab91c224d747f086eefaeca7c.tar.gz |
Add FakeApplicationSettings#commit_email_hostname
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/fake_application_settings.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/gitlab/fake_application_settings.rb b/lib/gitlab/fake_application_settings.rb index db1aeeea8d3..bd806269bf0 100644 --- a/lib/gitlab/fake_application_settings.rb +++ b/lib/gitlab/fake_application_settings.rb @@ -37,5 +37,9 @@ module Gitlab def pick_repository_storage repository_storages.sample end + + def commit_email_hostname + super.presence || ApplicationSetting.default_commit_email_hostname + end end end |