mirror of
https://github.com/discourse/discourse.git
synced 2025-06-01 05:53:52 +08:00

``` 1) CurrentUserSerializer#sidebar_category_ids includes visible default sidebar categories Failure/Error: expect(json[:sidebar_category_ids]).to eq([category.id, category_2.id]) expected: [378, 379] got: [379, 378] ``` Note that in the Ruby doc it says "The order is preserved from the original array". In this case, we want to preserve the order of the site setting.