Skip to content

Add basic backend tests for challenges app #4924

Description

@iceybubble

Description
The apps/challenges module contains core challenge-related logic (views, serializers, permissions), but currently does not have a dedicated tests directory.

Why this matters
Lack of automated tests makes it harder to prevent regressions in challenge creation, listing, and permission handling.

Proposed solution
Introduce a tests module under apps/challenges and add basic backend tests covering:

  • Challenge list API access
  • Permission checks (unauthenticated vs authenticated users)
  • Basic serializer validation

Scope
Tests only. No functional changes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions