From cef88e55642a2a03e9eebef61d51fdb73c50e146 Mon Sep 17 00:00:00 2001 From: Michael Mayer Date: Thu, 9 Feb 2023 14:06:01 +0100 Subject: [PATCH] API: Update albums_test.go Signed-off-by: Michael Mayer --- internal/api/albums_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/api/albums_test.go b/internal/api/albums_test.go index 2a54a04e3..481c169b6 100644 --- a/internal/api/albums_test.go +++ b/internal/api/albums_test.go @@ -263,7 +263,7 @@ func TestCloneAlbums(t *testing.T) { CloneAlbums(router) r := PerformRequestWithBody(app, "POST", "/api/v1/albums/"+uid+"/clone", `{albums: ["`+uid+`"]}`) val := gjson.Get(r.Body.String(), "error") - assert.Equal(t, "Invalid request", val.String()) + assert.Equal(t, "Unable to do that", val.String()) assert.Equal(t, http.StatusBadRequest, r.Code) }) }