diff --git a/test/fixtures/users.yml b/test/fixtures/users.yml index 250a3fc..43ad0eb 100644 --- a/test/fixtures/users.yml +++ b/test/fixtures/users.yml @@ -25,6 +25,7 @@ firstname: 'Curation Centre' surname: 'Super Admin' email: 'super-admin@example-cc.org' + encrypted_password: <%= User.new.send(:password_digest, 'password123') %> accept_terms: true organisation: curation_center roles: [add_organisations, change_org_affiliation, grant_api_to_orgs, grant_permissions, modify_templates, modify_guidance, change_org_details, use_api] @@ -36,6 +37,7 @@ firstname: 'Curation Centre' surname: 'Administrator' email: 'admin@example-cc.org' + encrypted_password: <%= User.new.send(:password_digest, 'password123') %> accept_terms: true organisation: curation_center roles: [grant_permissions, modify_templates, modify_guidance, change_org_details, use_api] @@ -47,6 +49,7 @@ firstname: 'Funder' surname: 'Administrator' email: 'admin@example-funder.org' + encrypted_password: <%= User.new.send(:password_digest, 'password123') %> accept_terms: true organisation: funder roles: [grant_permissions, modify_templates, modify_guidance, change_org_details, use_api] @@ -64,6 +67,7 @@ firstname: <%= "#{obj['name']} #{x + 1}" %> surname: "Admin" email: <%= "admin@example-#{lbl}-#{x + 1}.org" %> + encrypted_password: <%= User.new.send(:password_digest, 'password123') %> orcid_id: <%= "orcid-#{lbl}-#{x + 1}-admin12345" %> shibboleth_id: <%= "shib-#{lbl}-#{x + 1}-admin12345" %> accept_terms: true @@ -77,6 +81,7 @@ firstname: <%= "#{obj['name']} #{x + 1}" %> surname: "User" email: <%= "user@example-#{lbl}-#{x + 1}.org" %> + encrypted_password: <%= User.new.send(:password_digest, 'password123') %> orcid_id: <%= "orcid-#{lbl}-#{x + 1}-user12345" %> shibboleth_id: <%= "shib-#{lbl}-#{x + 1}-user12345" %> accept_terms: true @@ -93,6 +98,7 @@ firstname: "Complete" surname: "Admin" email: <%= "admin@example-complete.org" %> + encrypted_password: <%= User.new.send(:password_digest, 'password123') %> orcid_id: <%= "orcid-complete-admin12345" %> shibboleth_id: <%= "shib-complete-admin12345" %> accept_terms: true @@ -106,6 +112,7 @@ firstname: "Complete" surname: "User" email: <%= "user@example-complete.org" %> + encrypted_password: <%= User.new.send(:password_digest, 'password123') %> orcid_id: <%= "orcid-complete-user12345" %> shibboleth_id: <%= "shib-complete-user12345" %> accept_terms: true diff --git a/test/integration/.gitkeep b/test/integration/.gitkeep deleted file mode 100644 index e69de29..0000000 --- a/test/integration/.gitkeep +++ /dev/null