From 27bc74c71462ae08d496104c908454ebc4f2def3 Mon Sep 17 00:00:00 2001 From: Julien Tant Date: Wed, 12 Mar 2025 11:11:23 -0700 Subject: [PATCH] fix TestDeleteCPAField test --- server/channels/app/custom_profile_attributes_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/channels/app/custom_profile_attributes_test.go b/server/channels/app/custom_profile_attributes_test.go index 05f7ea792fc..9cec3a1a5b0 100644 --- a/server/channels/app/custom_profile_attributes_test.go +++ b/server/channels/app/custom_profile_attributes_test.go @@ -373,8 +373,8 @@ func TestDeleteCPAField(t *testing.T) { }) require.NoError(t, err) - createdField, err := th.App.CreateCPAField(newField) - require.NoError(t, err) + createdField, appErr := th.App.CreateCPAField(newField) + require.Nil(t, appErr) for i := range 3 { newValue := &model.PropertyValue{