Skip to content

Add integration test for the feed endpoint returning only posts from creators the authenticated user follows #701

Description

@Chucks1093

Summary

The feed endpoint should return posts exclusively from creators the authenticated wallet follows. An integration test should seed posts from followed and unfollowed creators and confirm only followed content appears in the response.

Scope

  • Seed wallet A following creator X but not creator Y
  • Seed one post each from creator X and creator Y
  • Call the feed endpoint authenticated as wallet A
  • Assert only creator X's post is returned
  • Assert the feed is empty after wallet A unfollows creator X

Acceptance Criteria

  • Only posts from followed creators returned
  • Posts from unfollowed creators absent from the feed
  • Empty feed returned when the wallet follows no one
  • Unauthenticated request returns 401

ETA: 12 hours


Coordinate on Telegram

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions