bikebrigade / dispatch

Bike Brigade's dispatching software! 🚴
https://bikebrigade.ca
Apache License 2.0
72 stars 8 forks source link

Remove test data without full postal code #399

Closed mveytsman closed 3 days ago

mveytsman commented 3 days ago

Describe your changes

Closes #398

I believe the flaky test is caused by having locations that only have the first part of the postal code. The test in question relies on the coordinates for a given 6-character postal code being cached, but with test data that only has 3 digit postal codes we don't cache the coordinates.

To be completely honest I'm not sure where I got the test data from or how this happened but it doesn't make sense to keep around test data with partial postal codes 🤷

Checklist before requesting a review