Fix NoMethodError in MergeTrains::CarFinder
What does this MR do and why?
Anonymous users calling the merge trains API were causing
NoMethodError
s.
See #417605 (closed)
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
How to set up and validate locally
- Run the new test with the old code. Observe that it fails
- Run the new test with the new code. Observe that it passes
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Hordur Freyr Yngvason