test: add integration test for post list endpoint creator scoping - #772
Merged
Chucks1093 merged 1 commit intoAug 26, 2026
Conversation
Adds an integration test that seeds posts from two different creators and verifies the post list endpoint is correctly scoped to the requested creator's wallet, preventing cross-creator post leakage. Closes accesslayerorg#771
|
@oluwa1to9-web Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
oluwa1to9-web
force-pushed
the
feature/integration-test-post-list-creator-scoping
branch
2 times, most recently
from
August 25, 2026 17:10
5e20a37 to
35f61db
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds an integration test that verifies the
GET /api/v1/creators/:id/postsendpoint correctly scopes posts to the requested creator's wallet, preventing cross-creator post leakage.What changed
New integration test file:
src/modules/creator/post-list-creator-scoping.integration.test.tsThe test seeds 2 posts from Creator A and 3 posts from Creator B, then hits the post list endpoint for each creator and asserts:
Acceptance Criteria
Closes #771