Commit c482e870 authored by Andrejs Cunskis's avatar Andrejs Cunskis

Merge branch 'shl-check-if-license-present' into 'master'

E2E: Check if license present instead of checking for nil

See merge request gitlab-org/gitlab!82468
parents be72c797 c89c753e
...@@ -7,7 +7,7 @@ module QA ...@@ -7,7 +7,7 @@ module QA
def perform_before_hooks def perform_before_hooks
# Without a license, perform the CE before hooks only. # Without a license, perform the CE before hooks only.
unless ENV['EE_LICENSE'] unless ENV['EE_LICENSE'].present?
QA::CE::Strategy.perform_before_hooks QA::CE::Strategy.perform_before_hooks
return return
end end
......
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