Commit 21ce417c authored by Shinya Maeda's avatar Shinya Maeda

Fix static analysys

parent 2fcc186a
...@@ -2393,13 +2393,19 @@ describe Project do ...@@ -2393,13 +2393,19 @@ describe Project do
let(:project) { create(:project) } let(:project) { create(:project) }
let!(:default_cluster) do let!(:default_cluster) do
create(:cluster, platform_type: :kubernetes, projects: [project], create(:cluster,
environment_scope: '*', platform_kubernetes: default_cluster_kubernetes) platform_type: :kubernetes,
projects: [project],
environment_scope: '*',
platform_kubernetes: default_cluster_kubernetes)
end end
let!(:review_env_cluster) do let!(:review_env_cluster) do
create(:cluster, platform_type: :kubernetes, projects: [project], create(:cluster,
environment_scope: 'review/*', platform_kubernetes: review_env_cluster_kubernetes) platform_type: :kubernetes,
projects: [project],
environment_scope: 'review/*',
platform_kubernetes: review_env_cluster_kubernetes)
end end
let(:default_cluster_kubernetes) { create(:cluster_platform_kubernetes, token: 'default-AAA') } let(:default_cluster_kubernetes) { create(:cluster_platform_kubernetes, token: 'default-AAA') }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment