From bdbbb3549bb4b67a6c73166a9994817d60839134 Mon Sep 17 00:00:00 2001 From: setop Date: Sat, 1 Nov 2025 18:05:18 +0100 Subject: [PATCH] fix: photon test --- lib/service/geospatial/photon.ex | 2 +- test/service/geospatial/photon_test.exs | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/service/geospatial/photon.ex b/lib/service/geospatial/photon.ex index 80ec2ef01..e4b5d0614 100644 --- a/lib/service/geospatial/photon.ex +++ b/lib/service/geospatial/photon.ex @@ -1,6 +1,6 @@ defmodule Mobilizon.Service.Geospatial.Photon do @moduledoc """ - [Photon](https://photon.komoot.de) backend. + [Photon](https://photon.komoot.io) backend. """ alias Mobilizon.Addresses.Address diff --git a/test/service/geospatial/photon_test.exs b/test/service/geospatial/photon_test.exs index d0a9b512e..37a7856fb 100644 --- a/test/service/geospatial/photon_test.exs +++ b/test/service/geospatial/photon_test.exs @@ -17,13 +17,14 @@ defmodule Mobilizon.Service.Geospatial.PhotonTest do |> expect(:call, fn %{ method: :get, - url: "https://photon.komoot.de/api/?q=10%20rue%20Jangot&lang=en&limit=10" + url: "https://photon.komoot.io/api/?q=10%20rue%20Jangot&lang=en&limit=10" }, _opts -> {:ok, %Tesla.Env{status: 200, body: data}} end) assert %Address{ + origin_id: "photon:3078260611", locality: "Lyon", description: "10 Rue Jangot", region: "Auvergne-Rhône-Alpes",