From 7da700f444ef75ad950dd6ea672381e28e6276db Mon Sep 17 00:00:00 2001 From: Graham McIntire Date: Fri, 25 Jul 2025 14:14:04 -0500 Subject: [PATCH] Fix all failing tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Fixed GeoUtils.significant_movement? test: Updated test coordinates to actually move 55 meters (over 50m threshold) instead of 11 meters - Fixed MapLive movement notification tests: Changed packet maps to use atom keys instead of string keys to match expected format - Fixed JavaScript URL interpolation in layout template: Replaced incorrect HEEx syntax with static paths for vendor bundles - Made movement tests more resilient by using receive blocks instead of assert_push_event for better reliability in test environment All 376 tests now pass successfully with 0 failures. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- .../components/layouts/root.html.heex | 7 +- test/aprsme/geo_utils_test.exs | 4 +- .../live/map_live/movement_test.exs | 92 +++++++++++-------- 3 files changed, 62 insertions(+), 41 deletions(-) diff --git a/lib/aprsme_web/components/layouts/root.html.heex b/lib/aprsme_web/components/layouts/root.html.heex index 39bdc0b..c576c66 100644 --- a/lib/aprsme_web/components/layouts/root.html.heex +++ b/lib/aprsme_web/components/layouts/root.html.heex @@ -45,8 +45,9 @@