Skip to content

add FORBIDDEN to token stub tests#1982

Merged
adarshm11 merged 12 commits into
devfrom
fix-tests
Jan 4, 2026
Merged

add FORBIDDEN to token stub tests#1982
adarshm11 merged 12 commits into
devfrom
fix-tests

Conversation

@adarshm11

Copy link
Copy Markdown
Contributor

right now we can only stub tokens to be good (OK) or bad (UNAUTHORIZED), which ignores the possibility that a token is valid but possesses invalid access level (FORBIDDEN would be expected here). this PR allows for tokens to be mocked to return FORBIDDEN status

@charred-70 charred-70 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Waow waow W adarshmellow

@altran03 altran03 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

W Adarsh 😀

@adarshm11
adarshm11 merged commit 63cc4ea into dev Jan 4, 2026
4 checks passed
@adarshm11
adarshm11 deleted the fix-tests branch January 4, 2026 05:33
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.

4 participants