Blake Erickson
ed13ae7787
DEV: Fix specs for directory items controller ( #30160 )
...
The directory items controller specs that have a search param were not
matching how things worked in production. In a non-test environment the
UserSearch class depends on the `user_search_data` table being
populated, so the tests I corrected now use this table as well to match
reality.
Also added a new test to match the 20 user limit for search results that
currently exists. This 20 user limit is on the line between a bug and a
feature but it is how it is currently working so we should document
that. We have plans to increase this limit and it has been documented
here: https://meta.discourse.org/t/296485
This PR is a no-op and only changes the tests.
Co-authored-by: brrusselburg <25828824+brrusselburg@users.noreply.github.com>
2024-12-10 08:55:29 -07:00
..
2024-09-17 14:43:34 +08:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2023-09-11 13:56:31 +08:00
2023-01-09 11:49:28 +00:00
2023-06-07 12:09:30 +08:00
2019-04-30 10:27:42 +10:00
2024-09-04 04:38:46 +03:00
2019-04-30 10:27:42 +10:00
2023-01-09 11:49:28 +00:00
2024-11-11 15:04:15 +08:00
2021-02-04 11:27:34 +11:00
2020-12-18 09:03:51 -06:00
2019-04-30 10:27:42 +10:00
2019-04-30 10:27:42 +10:00
2021-11-25 09:34:39 +02:00
2019-04-30 10:27:42 +10:00
2024-05-16 15:47:01 -04:00
2023-01-09 11:49:28 +00:00
2024-05-23 12:19:07 +10:00
2024-05-23 12:19:07 +10:00
2023-08-29 18:41:33 -03:00
2024-07-18 10:33:14 +10:00
2019-04-30 10:27:42 +10:00
2019-04-30 10:27:42 +10:00
2019-04-30 10:27:42 +10:00
2020-11-03 12:38:54 +00:00
2022-02-28 20:50:55 +01:00
2019-04-30 10:27:42 +10:00
2024-07-04 10:27:37 +08:00
2020-06-09 20:49:32 +05:30
2019-04-30 10:27:42 +10:00
2024-11-12 14:35:20 -06:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2020-07-06 21:51:56 +02:00
2023-01-09 11:49:28 +00:00
2019-12-19 09:48:01 -08:00
2019-04-30 10:27:42 +10:00
2019-04-30 10:27:42 +10:00
2024-02-29 12:24:37 +01:00
2019-04-30 10:27:42 +10:00
2023-01-09 11:49:28 +00:00
2024-02-27 11:17:39 +08:00
2020-06-17 12:42:20 +02:00
2022-12-19 20:17:40 +00:00
2024-07-09 10:35:10 -05:00
2019-05-09 13:40:36 -04:00
2024-09-30 13:27:25 +08:00
2021-11-24 09:28:20 -06:00
2023-08-17 12:33:52 +10:00
2023-08-17 12:33:52 +10:00
2023-01-09 11:49:28 +00:00
2019-04-30 10:27:42 +10:00
2019-04-30 10:27:42 +10:00
2023-02-03 14:44:40 +11:00
2023-03-01 07:39:35 +08:00
2023-03-01 07:39:35 +08:00
2023-01-09 11:49:28 +00:00
2019-04-30 10:27:42 +10:00
2023-01-09 11:49:28 +00:00
2023-01-09 11:49:28 +00:00
2021-12-01 10:26:56 +08:00
2024-09-03 15:43:02 +08:00
2024-11-26 13:53:10 +10:00
2023-11-02 08:10:15 +03:00
2023-11-02 08:10:15 +03:00
2019-04-30 10:27:42 +10:00
2023-01-09 11:49:28 +00:00
2024-01-09 14:00:01 -03:00
2024-06-26 20:04:33 +02:00
2019-04-30 10:27:42 +10:00
2020-04-22 20:49:53 +02:00
2022-04-19 11:37:01 +10:00
2024-07-09 15:39:10 +10:00
2023-07-10 10:06:40 +08:00
2024-07-08 16:55:59 +08:00
2022-05-10 10:42:18 +10:00
2024-11-19 15:28:04 -05:00
2024-04-16 17:37:33 +08:00
2023-01-09 11:49:28 +00:00
2022-10-27 11:26:14 +08:00
2024-04-25 20:58:34 +08:00
2019-04-30 10:27:42 +10:00
2024-12-10 08:55:29 -07:00
2024-05-23 19:18:25 +08:00
2021-07-30 13:50:47 -04:00
2024-06-13 14:59:49 +10:00
2023-01-09 11:49:28 +00:00
2024-10-10 09:23:06 +08:00
2023-12-06 23:25:00 +01:00
2023-01-09 11:49:28 +00:00
2023-10-03 14:59:28 -04:00
2022-05-27 13:15:14 +04:00
2020-04-22 20:49:53 +02:00
2024-07-15 19:25:17 +08:00
2020-04-22 20:49:53 +02:00
2024-06-07 10:26:00 -05:00
2023-10-09 03:35:31 +00:00