Skip to content

Fix broken tests for endpoint to get a torrent list #190

@josecelano

Description

@josecelano

The PR #162 was merged and today I've realized there were some broken tests.

test e2e::contexts::torrent::contract::for_guests::it_should_allow_guests_to_get_torrents ... FAILED
test e2e::contexts::torrent::contract::for_guests::it_should_allow_to_get_torrents_with_pagination ... FAILED
test e2e::contexts::torrent::contract::for_guests::it_should_return_a_default_amount_of_torrents_per_request_if_no_page_size_is_provided ... FAILED
test e2e::contexts::torrent::contract::for_guests::it_should_allow_to_limit_the_number_of_torrents_per_request ... FAILED

It seems the pagination has been broken with the changes introduced to support "tags".

See https://github.com/torrust/torrust-index-backend/actions/runs/5209788641/jobs/9400067078#step:13:1336

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugIncorrect Behavior

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions