Skip to content

Same seed count does not lock the extra application or territory filter #312

Closed

Description

@fjlopez

What is wrong

Several repository and client-configuration tests expect the same count for a filtered query and the unfiltered query. Dropping the extra predicate still passes.

  • ApplicationRepositoryTest.findApplicationsByUsername and findApplicationsByUsernameAndTerritory both expect 4 for the public user and territory 1.
  • TerritoryRepositoryTest.findTerritoriesByUserAndApplication and findTerritoriesOfAnUser both expect 3.
  • ClientConfigurationApplicationControllerTest and ClientConfigurationTerritoryApplicationsControllerTest share the public page size 4, the internal page size 5, and the same page titles.

What to do

Pick a seed territory whose filtered result is not the unfiltered set, and assert that count. Do not delete the tests until that count exists.

Activity

  1. added
    plannedActive backlog; exempt from stale bot
    on Oct 21, 2026
  2. added theissue type on Oct 21, 2026
  3. fjlopez commented on Oct 22, 2026

    @fjlopez
    ContributorAuthor

    Fixed on dev by #348.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    plannedActive backlog; exempt from stale bot

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions