summaryrefslogtreecommitdiff
path: root/qa/qa/resource/group.rb
diff options
context:
space:
mode:
Diffstat (limited to 'qa/qa/resource/group.rb')
-rw-r--r--qa/qa/resource/group.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/qa/qa/resource/group.rb b/qa/qa/resource/group.rb
index 75dcb4db55f..ed9acb6edb7 100644
--- a/qa/qa/resource/group.rb
+++ b/qa/qa/resource/group.rb
@@ -18,10 +18,12 @@ module QA
attribute :id
attribute :name
attribute :runners_token
+ attribute :require_two_factor_authentication
def initialize
@path = Runtime::Namespace.name
@description = "QA test run at #{Runtime::Namespace.time}"
+ @require_two_factor_authentication = false
end
def fabricate!
@@ -72,7 +74,8 @@ module QA
parent_id: sandbox.id,
path: path,
name: path,
- visibility: 'public'
+ visibility: 'public',
+ require_two_factor_authentication: @require_two_factor_authentication
}
end