Skip to content

[Bug]: Missing testing on /users/search endpoint #129

@grillinr

Description

@grillinr

Component

Backend (Go API)

Bug Description

The new /users/search endpoint is not covered by the existing backend HTTP test suite (see backend/api/internal/tests/user_test.go). Please add test cases for at least: empty q (returns []), a prefix match, and enforcing the count max (20).

Originally posted by @Copilot in #128

Steps to Reproduce

No response

Expected Behavior

Have testing for /users/search

Actual Behavior

No response

Logs or Error Messages

Screenshots

No response

Environment Information (Optional)

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugCode that results in unknown/unwanted results

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions