Skip to content

Contract Sentinel: auth status and session response guarantees#477

Open
inteee wants to merge 1 commit into
MixMatch-Inc:mainfrom
inteee:codex/inteee-auth-contract-tests
Open

Contract Sentinel: auth status and session response guarantees#477
inteee wants to merge 1 commit into
MixMatch-Inc:mainfrom
inteee:codex/inteee-auth-contract-tests

Conversation

@inteee
Copy link
Copy Markdown
Contributor

@inteee inteee commented May 31, 2026

Summary: adds starter API contract tests for auth status and session refresh surfaces.

What changed:

  • Added contract test for GET /auth/status payload shape.
  • Added contract test for POST /auth/refresh invalid-token error shape and code.
  • Tests assert response body contracts, not only status lines.

Closes #421

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Write API contract tests for the starter’s auth status and session endpoints

2 participants