[PR #5299] [MERGED] chore: combined filter and search operator test #5912

Closed
opened 2026-03-13 12:41:05 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/5299
Author: @Kinfe123
Created: 10/14/2025
Status: Merged
Merged: 10/14/2025
Merged by: @himself65

Base: canaryHead: chore/combined-search-filter


📝 Commits (1)

  • 9c41664 chore: combined filter and search operator test

📊 Changes

1 file changed (+18 additions, -1 deletions)

View changed files

📝 packages/better-auth/src/plugins/admin/admin.test.ts (+18 -1)

📄 Description

this pr is made for making sure both search and filter combnation works on #5295

Summary by cubic

Add a test that proves admin.listUsers supports combining a role=admin filter with an email contains "test" search. Also relax another test to assert users count is >= 2 to avoid brittle failures as data changes.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/better-auth/better-auth/pull/5299 **Author:** [@Kinfe123](https://github.com/Kinfe123) **Created:** 10/14/2025 **Status:** ✅ Merged **Merged:** 10/14/2025 **Merged by:** [@himself65](https://github.com/himself65) **Base:** `canary` ← **Head:** `chore/combined-search-filter` --- ### 📝 Commits (1) - [`9c41664`](https://github.com/better-auth/better-auth/commit/9c4166448ccf4d8ba4a616adcb674dfa7d5d9847) chore: combined filter and search operator test ### 📊 Changes **1 file changed** (+18 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `packages/better-auth/src/plugins/admin/admin.test.ts` (+18 -1) </details> ### 📄 Description this pr is made for making sure both search and filter combnation works on #5295 <!-- This is an auto-generated description by cubic. --> ## Summary by cubic Add a test that proves admin.listUsers supports combining a role=admin filter with an email contains "test" search. Also relax another test to assert users count is >= 2 to avoid brittle failures as data changes. <!-- End of auto-generated description by cubic. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-03-13 12:41:05 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#5912