Skip to content

test: verify owned URL visibility with isolated API clients - #46

Merged
KageRyo merged 1 commit into
masterfrom
test/audit-contracts-20261024
Oct 24, 2026
Merged

KageRyo merged 1 commit into
masterfrom
test/audit-contracts-20261024

Conversation

@KageRyo

@KageRyo KageRyo commented Oct 24, 2026

Copy link
Copy Markdown
Owner

The own-URL API test now creates an owned URL and an administrator-owned URL, verifies the owned URL is returned and the foreign URL is hidden, then removes its test records. Authenticated fixtures use separate clients so requesting user and admin actions together cannot overwrite the user's token.

Validation: all 19 HTTP API tests passed against a disposable SQLite-backed local app; Django system checks and Python compilation passed. Returning an empty list or all URLs each failed the strengthened test. Existing Pydantic deprecation warning remains. Hosted CI currently collects HTTP tests without starting an API.

@sonarqubecloud

Copy link
Copy Markdown

@KageRyo
KageRyo merged commit ee0d0eb into master Oct 24, 2026
2 checks passed
@KageRyo
KageRyo deleted the test/audit-contracts-20261024 branch October 24, 2026 09:35
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.

1 participant