Conversation
|
@nathangavin I can see more tests failing because the test files haven't been updated. For example test I used GPT to create a grep cli command to search for test files (json) that have more than 2dp rounding.
Hope this helps |
|
Using commands:
along with Matts suggested command:
I am pretty confident I have updated all expected test files, however some tests are still failing. The tests are seeming to use the previous expected files, before my changes. Is anyone able to determine why this is happening? |
|
The custom variables plugin is a submodule. They need to be updated in another repo and the submodule reference needs to be updated then. You can ignore that for now. Should be fine to update them after this PR was reviewed. |
sgiehl
left a comment
There was a problem hiding this comment.
Works as expected.
I've created matomo-org/plugin-CustomVariables#106 to adjust the tests for the submodule.
Once that's merged we can update the submodule reference here and merge the PR.
Description:
Current latitude/longitude data is stored at 3 decimal places. This is considered too accurate for privacy reasons, and so this update changes the accuracy of stored latitude/longitude data to only 2 decimal places.
Review