mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 22:43:42 +00:00
The tests for GET /users were looking for a specific user, asuming that it would always be in the same position. Since the users' sorting isn't guaranteed in any way, this can lead to errors in the tests. Now we make sure the user we grab from the list is the one we need by checking its email address. This is just a hotfix that addresses the short-term problem: we have already made some efforts to make sure these tests are more deterministic, and now we only need to finish the migration of the old enpoints to the new system as a long-term solution.
19 KiB
19 KiB