Fix flaky test in cluster_agents_spec.rb
Two of the three tokens had `nil` `last_used_at` dates, and the database can return those in any order. To fix the spec, we assign one of the `nil` values a date. The order also needs to be sorted most recently used, with `nil` at the end.
Showing
Please register or sign in to comment