Skip to content

Commit

Permalink
fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
cvejk committed Aug 13, 2024
1 parent 6976df2 commit 64f5fc4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down

0 comments on commit 64f5fc4

Please sign in to comment.