Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AO3-6866 Add no_resets and protected_user user roles to test fixtures #4998

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 10 additions & 38 deletions test/fixtures/roles.yml
Original file line number Diff line number Diff line change
@@ -1,50 +1,22 @@
---
role_00002:
---
role_00002:
name: translator
created_at: 2008-11-09 03:26:02 Z
updated_at: 2008-11-09 03:26:02 Z
authorizable_type:
id: 2
authorizable_id:
role_00004:
name: translator
created_at: 2009-06-27 18:59:55 Z
updated_at: 2009-06-27 18:59:55 Z
authorizable_type: Locale
id: 4
authorizable_id: 3
role_00005:
name: translator
created_at: 2009-06-27 18:59:55 Z
updated_at: 2009-06-27 18:59:55 Z
authorizable_type: Locale
id: 5
authorizable_id: 4
role_00006:
role_00006:
name: archivist
created_at: 2008-11-09 03:26:02 Z
updated_at: 2008-11-09 03:26:02 Z
authorizable_type:
id: 6
authorizable_id:
role_00001:
role_00001:
name: tag_wrangler
created_at: 2008-11-09 03:26:02 Z
updated_at: 2008-11-09 03:26:02 Z
authorizable_type:
id: 1
authorizable_id:
role_00007:
name: opendoors
created_at: 2008-11-09 03:26:02 Z
updated_at: 2008-11-09 03:26:02 Z
authorizable_type:
id: 7
authorizable_id:
role_00008:
name: official
updated_at: 2021-04-21 14:27:00 Z
created_at: 2021-04-21 14:27:00 Z
authorizable_type:
id: 8
authorizable_id:
role_00009:
name: protected_user
id: 9
role_00010:
name: no_resets
id: 10
41 changes: 13 additions & 28 deletions test/fixtures/roles_users.yml
Original file line number Diff line number Diff line change
@@ -1,51 +1,36 @@
---
join_00004:
---
join_00004:
created_at: 2009-06-27 18:59:55
updated_at: 2009-06-27 18:59:55
role_id: "5"
role_id: "2"
user_id: "2"
join_00005:
created_at:
updated_at:
join_00005:
created_at:
updated_at:
role_id: "1"
user_id: "1"
join_00006:
created_at:
updated_at:
join_00006:
created_at:
updated_at:
role_id: "2"
user_id: "1"
join_00007:
created_at: 2009-06-27 19:53:45
updated_at: 2009-06-27 19:53:45
role_id: "3"
user_id: "15"
join_00008:
join_00008:
created_at: 2008-11-09 04:26:02
updated_at: 2008-11-09 04:26:02
role_id: "1"
user_id: "15"
join_00009:
join_00009:
created_at: 2008-11-09 03:26:02
updated_at: 2008-11-09 03:26:02
role_id: "2"
user_id: "7"
join_00000:
join_00000:
created_at: 2008-11-09 03:26:02
updated_at: 2008-11-09 03:26:02
role_id: "1"
user_id: "7"
join_00001:
join_00001:
created_at: 2009-06-27 18:59:55
updated_at: 2009-06-27 18:59:55
role_id: "6"
user_id: "1"
join_00002:
created_at: 2009-06-27 18:53:45
updated_at: 2009-06-27 18:53:45
role_id: "3"
user_id: "1"
join_00003:
created_at: 2009-06-27 18:59:55
updated_at: 2009-06-27 18:59:55
role_id: "4"
user_id: "1"
Loading