Skip to content

Fix global user search regression test isolation - #65

Merged
CrazyBoy49z merged 4 commits into
mainfrom
fix/user-search-test-provider-isolation
Sep 25, 2026
Merged

CrazyBoy49z merged 4 commits into
mainfrom
fix/user-search-test-provider-isolation

Conversation

@CrazyBoy49z

Copy link
Copy Markdown
Member

Fixes the failing CI job after #64.

The production change is fine. The new regression test was executing the entire app-level SearchRegistry while the test admin still had the moderator role, so the pages provider ran first. In Testbench there is no translatable locales config/pages setup for that unrelated provider, which caused LocalesNotDefinedException before the users provider assertion was reached.

This change isolates the test to the users.view permission only, so the global search registry executes the users provider being tested without invoking unrelated page/settings providers.

@CrazyBoy49z
CrazyBoy49z merged commit f330e35 into main Sep 25, 2026
13 checks passed
@CrazyBoy49z
CrazyBoy49z deleted the fix/user-search-test-provider-isolation branch September 25, 2026 21:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant