Skip to content

Commit

Permalink
VACMS-11334: Updates phpunit test
Browse files Browse the repository at this point in the history
  • Loading branch information
omahane committed Oct 31, 2023
1 parent df75e70 commit 19e2496
Showing 1 changed file with 50 additions and 0 deletions.
50 changes: 50 additions & 0 deletions tests/phpunit/Security/RolesPermissionsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,13 @@ public function expectedPerms() {
'use editorial transition create_new_draft',
'use editorial transition publish',
'use editorial transition review',
'use restricted_archive transition approve',
'use restricted_archive transition archive',
'use restricted_archive transition archived_draft',
'use restricted_archive transition archived_published',
'use restricted_archive transition create_new_draft',
'use restricted_archive transition publish',
'use restricted_archive transition review',
'use text format rich_text',
'use text format rich_text_limited',
'use workbench access',
Expand Down Expand Up @@ -252,6 +259,12 @@ public function expectedPerms() {
'view node link report',
],
],
[
'content_creator_vba',
[
'create vba_facility_service content',
],
],
[
'content_creator_vet_center',
[
Expand Down Expand Up @@ -313,6 +326,7 @@ public function expectedPerms() {
'edit any publication_listing content',
'edit any q_a content',
'edit any regional_health_care_service_des content',
'edit any service_region content',
'edit any step_by_step content',
'edit any story_listing content',
'edit any support_resources_detail_page content',
Expand All @@ -324,6 +338,7 @@ public function expectedPerms() {
'edit any vamc_system_policies_page content',
'edit any vamc_system_register_for_care content',
'edit any vba_facility content',
'edit any vba_facility_service content',
'edit any vet_center content',
'edit any vet_center_cap content',
'edit any vet_center_facility_health_servi content',
Expand All @@ -349,6 +364,8 @@ public function expectedPerms() {
'update media',
'use editorial transition create_new_draft',
'use editorial transition review',
'use restricted_archive transition create_new_draft',
'use restricted_archive transition review',
'use text format rich_text',
'use text format rich_text_limited',
'use workbench access',
Expand Down Expand Up @@ -395,6 +412,7 @@ public function expectedPerms() {
'view q_a revisions',
'view regional_health_care_service_des revisions',
'view sections in toolbar',
'view service_region revisions',
'view step_by_step revisions',
'view story_listing revisions',
'view support_resources_detail_page revisions',
Expand All @@ -408,6 +426,7 @@ public function expectedPerms() {
'view vamc_system_policies_page revisions',
'view vamc_system_register_for_care revisions',
'view vba_facility revisions',
'view vba_facility_service revisions',
'view vet_center revisions',
'view vet_center_cap revisions',
'view vet_center_facility_health_servi revisions',
Expand Down Expand Up @@ -471,6 +490,7 @@ public function expectedPerms() {
'edit any publication_listing content',
'edit any q_a content',
'edit any regional_health_care_service_des content',
'edit any service_region content',
'edit any step_by_step content',
'edit any story_listing content',
'edit any support_resources_detail_page content',
Expand All @@ -482,6 +502,7 @@ public function expectedPerms() {
'edit any vamc_system_policies_page content',
'edit any vamc_system_register_for_care content',
'edit any vba_facility content',
'edit any vba_facility_service content',
'edit any vet_center content',
'edit any vet_center_cap content',
'edit any vet_center_facility_health_servi content',
Expand All @@ -500,6 +521,9 @@ public function expectedPerms() {
'use editorial transition approve',
'use editorial transition create_new_draft',
'use editorial transition review',
'use restricted_archive transition approve',
'use restricted_archive transition create_new_draft',
'use restricted_archive transition review',
'use text format rich_text',
'use text format rich_text_limited',
'use workbench access',
Expand Down Expand Up @@ -546,6 +570,7 @@ public function expectedPerms() {
'view q_a revisions',
'view regional_health_care_service_des revisions',
'view sections in toolbar',
'view service_region revisions',
'view step_by_step revisions',
'view story_listing revisions',
'view support_resources_detail_page revisions',
Expand All @@ -559,6 +584,7 @@ public function expectedPerms() {
'view vamc_system_policies_page revisions',
'view vamc_system_register_for_care revisions',
'view vba_facility revisions',
'view vba_facility_service revisions',
'view vet_center revisions',
'view vet_center_cap revisions',
'view vet_center_facility_health_servi revisions',
Expand Down Expand Up @@ -624,6 +650,7 @@ public function expectedPerms() {
'edit any publication_listing content',
'edit any q_a content',
'edit any regional_health_care_service_des content',
'edit any service_region content',
'edit any step_by_step content',
'edit any story_listing content',
'edit any support_resources_detail_page content',
Expand All @@ -635,6 +662,7 @@ public function expectedPerms() {
'edit any vamc_system_policies_page content',
'edit any vamc_system_register_for_care content',
'edit any vba_facility content',
'edit any vba_facility_service content',
'edit any vet_center content',
'edit any vet_center_cap content',
'edit any vet_center_facility_health_servi content',
Expand Down Expand Up @@ -689,6 +717,7 @@ public function expectedPerms() {
'revert publication_listing revisions',
'revert q_a revisions',
'revert regional_health_care_service_des revisions',
'revert service_region revisions',
'revert step_by_step revisions',
'revert story_listing revisions',
'revert support_resources_detail_page revisions',
Expand All @@ -700,6 +729,7 @@ public function expectedPerms() {
'revert vamc_system_policies_page revisions',
'revert vamc_system_register_for_care revisions',
'revert vba_facility revisions',
'revert vba_facility_service revisions',
'revert vet_center revisions',
'revert vet_center_cap revisions',
'revert vet_center_facility_health_servi revisions',
Expand All @@ -725,6 +755,10 @@ public function expectedPerms() {
'use editorial transition create_new_draft',
'use editorial transition publish',
'use editorial transition review',
'use restricted_archive transition approve',
'use restricted_archive transition create_new_draft',
'use restricted_archive transition publish',
'use restricted_archive transition review',
'use text format rich_text',
'use text format rich_text_limited',
'use workbench access',
Expand Down Expand Up @@ -771,6 +805,7 @@ public function expectedPerms() {
'view q_a revisions',
'view regional_health_care_service_des revisions',
'view sections in toolbar',
'view service_region revisions',
'view step_by_step revisions',
'view story_listing revisions',
'view support_resources_detail_page revisions',
Expand All @@ -784,6 +819,7 @@ public function expectedPerms() {
'view vamc_system_policies_page revisions',
'view vamc_system_register_for_care revisions',
'view vba_facility revisions',
'view vba_facility_service revisions',
'view vet_center revisions',
'view vet_center_cap revisions',
'view vet_center_facility_health_servi revisions',
Expand Down Expand Up @@ -878,6 +914,13 @@ public function expectedPerms() {
'use editorial transition create_new_draft',
'use editorial transition publish',
'use editorial transition review',
'use restricted_archive transition approve',
'use restricted_archive transition archive',
'use restricted_archive transition archived_draft',
'use restricted_archive transition archived_published',
'use restricted_archive transition create_new_draft',
'use restricted_archive transition publish',
'use restricted_archive transition review',
'view any unpublished content',
'view benefit_promo revisions',
'view cta_with_link revisions',
Expand All @@ -904,6 +947,13 @@ public function expectedPerms() {
'use editorial transition publish',
'use editorial transition archived_published',
'use editorial transition review',
'use restricted_archive transition approve',
'use restricted_archive transition archive',
'use restricted_archive transition archived_draft',
'use restricted_archive transition archived_published',
'use restricted_archive transition create_new_draft',
'use restricted_archive transition publish',
'use restricted_archive transition review',
'view any unpublished content',
'view latest version',
'access content overview',
Expand Down

0 comments on commit 19e2496

Please sign in to comment.