Skip to content
代码片段 群组 项目
未验证 提交 a41b4b2b 编辑于 作者: Andrejs Cunskis's avatar Andrejs Cunskis 提交者: GitLab
浏览文件

Do not mutate original gitlab_address value in e2e tests

上级 ef57c6e7
No related branches found
No related tags found
1 合并请求!2419Fix TanukiBot spec relying on outdated code
......@@ -7,11 +7,7 @@ module QA
let(:tag) { '1.0.0' }
let(:test_stage) { 'test' }
let(:test_phrase) { 'this is NOT secret!!!!!!!' }
let(:domain_name) do
address = Runtime::Scenario.gitlab_address
address.include?('https') ? address.sub!('https://', '') : address.sub!('http://', '')
end
let(:domain_name) { Support::GitlabAddress.host_with_port(with_default_port: false) }
let(:component_project) do
create(:project, :with_readme, name: 'component-project', description: 'This is a project with CI component.')
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册