diff --git a/backend/internal/data/repo/repo_item_attachments_test.go b/backend/internal/data/repo/repo_item_attachments_test.go index 4841f9b3..c6de35b8 100644 --- a/backend/internal/data/repo/repo_item_attachments_test.go +++ b/backend/internal/data/repo/repo_item_attachments_test.go @@ -71,7 +71,7 @@ func TestAttachmentRepo_Create(t *testing.T) { withItems, err := tRepos.Attachments.Get(tt.args.ctx, got.ID) require.NoError(t, err) - assert.Equal(t, tt.args.itemID, withItems.Edges.Item.ID) + assert.Equal(t, tt.args.itemID, withItems.Edges.Entity.ID) ids = append(ids, got.ID) })