Skip to content
Snippets Groups Projects

[QA] Use public_email instead of email since it's available

Merged Rémy Coutable requested to merge qa-staging-27 into master
All threads resolved!
3 files
+ 133
4
Compare changes
  • Side-by-side
  • Inline
Files
3
+ 7
3
@@ -17,11 +17,11 @@ def initialize
end
def username
@username ||= "qa-user-#{unique_id}"
@username || "qa-user-#{unique_id}"
end
def password
@password ||= 'password'
@password || 'password'
end
def name
@@ -29,7 +29,11 @@ def name
end
def email
@email ||= api_resource&.dig(:email) || "#{username}@example.com"
@email ||= "#{username}@example.com"
end
def public_email
@public_email ||= api_resource&.dig(:public_email) || email
end
def credentials_given?
Loading