From f957610fc9ec1e4f163f1b6b39d595aae947ba6f Mon Sep 17 00:00:00 2001 From: Michael Mayer Date: Wed, 29 Apr 2020 00:17:44 +0200 Subject: [PATCH] Backend: Update places tests Signed-off-by: Michael Mayer --- internal/maps/location_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/internal/maps/location_test.go b/internal/maps/location_test.go index e508c203c..e7832b495 100644 --- a/internal/maps/location_test.go +++ b/internal/maps/location_test.go @@ -36,7 +36,7 @@ func TestLocation_Assign(t *testing.T) { } assert.Equal(t, "Comici I", o.Name()) - assert.Equal(t, "Trentino-Alto Adige/Südtirol", o.State()) + assert.Equal(t, "Trentino-Alto Adige", o.State()) assert.Equal(t, "it", o.CountryCode()) var l Location @@ -46,9 +46,9 @@ func TestLocation_Assign(t *testing.T) { } assert.Equal(t, "Comici I", l.LocName) - assert.Equal(t, "Plan de Gralba, Trentino-Alto Adige/Südtirol, Italy", l.LocLabel) + assert.Equal(t, "Plan de Gralba, Trentino-Alto Adige, Italy", l.LocLabel) assert.IsType(t, []string{}, l.Keywords()) - assert.Equal(t, "", l.KeywordString()) + assert.Equal(t, "südtirol", l.KeywordString()) }) t.Run("BerlinFernsehturm", func(t *testing.T) {