Skip to content

Add tests. #6

@mikebronner

Description

@mikebronner

in progress


Acceptance Criteria

  • Test suite covers the Apple Sign In authorization and callback flow
  • Tests mock Apple's API responses (no real HTTP calls in tests)
  • CI pipeline runs tests on all supported Laravel versions

Test Coverage

  • Unit tests: client secret generation, user hydration from Apple token
  • Integration tests: redirect and callback flows with mocked Apple responses
  • CI matrix: PHP 8.0+, Laravel 9.x, 10.x, 11.x

WSJF Priority Score

  • Score: 2.80
  • User/Business Value: 5 (Test coverage builds user confidence; prevents regressions)
  • Time Criticality: 3 (Important but not blocking)
  • Risk Reduction/Opportunity Enablement: 6 (Enables safe refactoring and future development)
  • Job Size: 5 points (S-M — unit + integration tests + CI matrix)
  • Calculation: (5 + 3 + 6) ÷ 5 = 2.80

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions