diff --git a/domain/redirectdefinition/utils/consolidateredirectdefinitions_test.go b/domain/redirectdefinition/utils/consolidateredirectdefinitions_test.go index 17f663c..edca356 100644 --- a/domain/redirectdefinition/utils/consolidateredirectdefinitions_test.go +++ b/domain/redirectdefinition/utils/consolidateredirectdefinitions_test.go @@ -18,8 +18,8 @@ func Test_ConsolidateRedirectDefinitions(t *testing.T) { "/redirects-test-de-01": {ID: "1", ContentID: "1", Source: "/redirects-test-de-01", Target: "/redirects-test-de-02", RedirectionType: redirectstore.Automatic}, } - newRedirects := redirectstore.RedirectDefinitions{ - "/redirects-test-de-02": {ID: "2", ContentID: "1", Source: "/redirects-test-de-02", Target: "/redirects-test-de-03", RedirectionType: redirectstore.Automatic}, + newRedirects := []*redirectstore.RedirectDefinition{ + {ID: "2", ContentID: "1", Source: "/redirects-test-de-02", Target: "/redirects-test-de-03", RedirectionType: redirectstore.Automatic}, } updatedExpected := redirectstore.RedirectDefinitions{