Skip to content

fix(testing): canonicalize storage URL scheme and add 401/403 cases - #583

Merged
kingksjo merged 3 commits into
Navin-xmr:mainfrom
Davoski1:test/p2-16-delivery-proof-url-auth
Aug 30, 2026
Merged

fix(testing): canonicalize storage URL scheme and add 401/403 cases#583
kingksjo merged 3 commits into
Navin-xmr:mainfrom
Davoski1:test/p2-16-delivery-proof-url-auth

Conversation

@Davoski1

Copy link
Copy Markdown
Contributor

Closes #538

Description

  • Updated the deliveryProof test assertion to match the canonical fake storage URL scheme (https://mock-storage.local/...).
  • Added a test case to ensure the endpoint returns a 401 Unauthorized response when the authorization token is missing.
  • Added a test case to ensure the endpoint returns a 403 Forbidden response when accessed by a user with a VIEWER role (since it's guarded for ADMIN/MANAGER).

Acceptance Criteria Met

  • Assertion matches canonical fake scheme.
  • missing-token and VIEWER-denied cases added.

@kingksjo
kingksjo merged commit 53f6f63 into Navin-xmr:main Aug 30, 2026
5 checks passed
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.

[Testing] Canonicalize storage URL scheme in deliveryProof assertions and add 401/403 cases

2 participants