mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
ca4036b882
Added a test for the forgot password email. Improved the test for the change-password email. Fixed issue where `SapphireTest::mailer` was cleared during `setUp` by moving instantiation of the mailer at the end of the `setUp` method. No longer use deprecated i18n method in test-setup. Replace potentially real Email Address with a fake one.
79 lines
1.9 KiB
YAML
79 lines
1.9 KiB
YAML
Permission:
|
|
admin:
|
|
Code: ADMIN
|
|
security-admin:
|
|
Code: CMS_ACCESS_SecurityAdmin
|
|
Group:
|
|
admingroup:
|
|
Title: Admin
|
|
Code: admin
|
|
Permissions: =>Permission.admin
|
|
securityadminsgroup:
|
|
Title: securityadminsgroup
|
|
Code: securityadminsgroup
|
|
Permissions: =>Permission.security-admin
|
|
staffgroup:
|
|
Title: staffgroup
|
|
Code: staffgroup
|
|
managementgroup:
|
|
Title: managementgroup
|
|
Code: managementgroup
|
|
Parent: =>Group.staffgroup
|
|
accountinggroup:
|
|
Title: accountinggroup
|
|
Code: accountinggroup
|
|
Parent: =>Group.staffgroup
|
|
ceogroup:
|
|
Title: ceogroup
|
|
Code: ceogroup
|
|
Parent: =>Group.managementgroup
|
|
memberlessgroup:
|
|
Title: Memberless Group
|
|
code: memberless
|
|
Member:
|
|
admin:
|
|
FirstName: Admin
|
|
Email: admin@silverstripe.com
|
|
Groups: =>Group.admingroup
|
|
other-admin:
|
|
FirstName: OtherAdmin
|
|
Email: other-admin@silverstripe.com
|
|
Groups: =>Group.admingroup
|
|
test:
|
|
FirstName: Test
|
|
Surname: User
|
|
Email: dummy@silverstripe.tld
|
|
Password: 1nitialPassword
|
|
PasswordExpiry: 2030-01-01
|
|
Groups: =>Group.securityadminsgroup
|
|
expiredpassword:
|
|
FirstName: Test
|
|
Surname: User
|
|
Email: expired@silverstripe.com
|
|
Password: 1nitialPassword
|
|
PasswordExpiry: 2006-01-01
|
|
noexpiry:
|
|
FirstName: Test
|
|
Surname: User
|
|
Email: noexpiry@silverstripe.com
|
|
Password: 1nitialPassword
|
|
staffmember:
|
|
Email: staffmember@test.com
|
|
Groups: =>Group.staffgroup
|
|
managementmember:
|
|
Email: managementmember@test.com
|
|
Groups: =>Group.managementgroup
|
|
accountingmember:
|
|
Email: accountingmember@test.com
|
|
Groups: =>Group.accountinggroup
|
|
ceomember:
|
|
Email: ceomember@test.com
|
|
Groups: =>Group.ceogroup
|
|
grouplessmember:
|
|
FirstName: Groupless Member
|
|
noformatmember:
|
|
Email: noformat@test.com
|
|
delocalemember:
|
|
Email: delocalemember@test.com
|
|
Locale: de_DE
|