diff options
Diffstat (limited to 'qa/qa/specs/helpers/context_selector.rb')
-rw-r--r-- | qa/qa/specs/helpers/context_selector.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qa/qa/specs/helpers/context_selector.rb b/qa/qa/specs/helpers/context_selector.rb index 3ef729c4500..aab2a82d90e 100644 --- a/qa/qa/specs/helpers/context_selector.rb +++ b/qa/qa/specs/helpers/context_selector.rb @@ -116,12 +116,12 @@ module QA # @return [String] 'gitlab' or 'jihulab' def production_domain(tld) return 'gitlab' unless GitlabEdition.jh? - return 'gitlab' if tld == 'hk' + return 'gitlab' if tld == 'hk' || tld == 'cn' return 'jihulab' if tld == 'com' end def opts_tld - GitlabEdition.jh? ? '(.com|.hk)' : '(.com|.net)' + GitlabEdition.jh? ? '(.com|.hk|.cn)' : '(.com|.net)' end def get_tld(host) |