Skip to content

Stories – Controller Integration Tests (MockMvc) #57

@ArchILLtect

Description

@ArchILLtect

Area / Component

Stories endpoints (POST /api/stories, GET /api/stories, GET /api/me/stories, DELETE /api/stories/{id})

Test Cases

  • Unauthenticated requests return 401 UNAUTHENTICATED envelope.
  • POST creates story (201) and returns body with timestamps.
  • GET feed respects limit and before; newest-first.
  • GET me/stories returns only self stories.
  • DELETE: 204 owner; 403 non-owner; 404 unknown id.

Target Release

v0.1.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    apiIssues/PRs dealing with REST endpoints.area:storiesIssues/PRs related to the Stories domain (entity, repository, service, controller, feed, deletion)backendWork related to APIs, services, or controllers.javaPull requests that update java coderoadmapPlanned feature or strategic goal from the project roadmap.type:testTest coverage or new tests for backend types, DTOs, or models.

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions