Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Patterns API: Fix endpoint tests #393

Open
wants to merge 6 commits into
base: trunk
Choose a base branch
from

Commits on Oct 3, 2024

  1. Configuration menu
    Copy the full SHA
    1af6d22 View commit details
    Browse the repository at this point in the history
  2. Remove terms count

    This isn't testing much of anything, and the dynamic nature of the live content means this could just be 1 if the latest batch of patterns are all translations of a single pattern.
    ryelle committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    ade8440 View commit details
    Browse the repository at this point in the history
  3. Update title boosted test term

    "image" no longer returns patterns without the term in the title, so the array is arbitrarily resorted (all sort weights are 0). Switching to "heading" returns some items without the term in the title.
    ryelle committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    43c6a17 View commit details
    Browse the repository at this point in the history
  4. Update test search term

    The previous search term now matches a core pattern.
    ryelle committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    786960d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    2b857ed View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c96caea View commit details
    Browse the repository at this point in the history