From df7c9b5130ba193fc918a947a461f2a70dc2dd3c Mon Sep 17 00:00:00 2001 From: Martin Kagamino Lehoux Date: Sun, 16 Aug 2026 14:55:26 +0200 Subject: fix(web): use Cotacol for climb difficulty --- web/server_test.go | 1 + 1 file changed, 1 insertion(+) (limited to 'web/server_test.go') diff --git a/web/server_test.go b/web/server_test.go index 654d6d5..f719372 100644 --- a/web/server_test.go +++ b/web/server_test.go @@ -151,6 +151,7 @@ func TestHandlerRendersRideDetailWithEmbeddedRoute(t *testing.T) { assert.Contains(t, body, `"type":"FeatureCollection"`) assert.Contains(t, body, `"type":"LineString"`) assert.Contains(t, body, `"coordinates":[[5,43]`) + assert.NotContains(t, body, `"score":`) profileStaticRequest := httptest.NewRequest(http.MethodGet, "/static/official-climb-profile.js", nil) profileStaticResponse := httptest.NewRecorder() -- cgit v1.2.3