GCTC-NTGC / gc-digital-talent

GC Digital Talent is the new recruitment platform for digital and tech jobs in the Government of Canada. // Talents numériques du GC est la nouvelle plateforme de recrutement pour les emplois numériques et technologiques au gouvernement du Canada.
https://talent.canada.ca
GNU Affero General Public License v3.0
19 stars 8 forks source link

🧪 Update phpunit tests to account for new roles #10690

Open tristan-orourke opened 2 months ago

tristan-orourke commented 2 months ago

🧪 Tests

Update PHPUnit tests to include tests for new roles: Process Operator, Community Manager, and Community Recruiter.

🕵️ Details

Tests which definitely need some attention:

Furthermore, do a global search for assertGraphQLErrorMessage('This action is unauthorized.'), and consider checking the new roles anywhere that is used.

🙋‍♀️ Proposed Solution

(optional) Do you have a proposed solution?

✅ Acceptance Criteria

A set of assumptions which, when tested, verify that the debt tests were properly updated and remains functional/passing.

🛑 Blockers

Issues which must be completed before this one.

### Blocked By
- [ ] #10621 
- [ ] https://github.com/GCTC-NTGC/gc-digital-talent/issues/10364
github-actions[bot] commented 2 months ago

Status: Ready to merge :heavy_check_mark:

Issues blocking this PR:

vd1992 commented 2 months ago

Blocking on https://github.com/GCTC-NTGC/gc-digital-talent/issues/10364 Multiple things to test need that relation I believe