From a366b7a7c6bf14681e8cfd5859612876d461975c Mon Sep 17 00:00:00 2001 From: Pawel Date: Mon, 8 Jul 2024 20:06:52 +0200 Subject: [PATCH] fix access codes test --- test/integration/access_codes_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/integration/access_codes_test.go b/test/integration/access_codes_test.go index 77a46ab..6ec2afa 100644 --- a/test/integration/access_codes_test.go +++ b/test/integration/access_codes_test.go @@ -137,7 +137,8 @@ func TestAccessCodes(t *testing.T) { }, ) require.NoError(t, err) - assert.NotNil(t, deleteResponse.ActionAttempt.Success) + assert.NotNil(t, deleteResponse.ActionAttempt.ActionAttemptActionAttemptId.Status()) + assert.Equal(t, "success", deleteResponse.ActionAttempt.ActionAttemptActionAttemptId.Status()) deviceIds := make([]string, 0, len(accessCodes)) for _, accessCode := range accessCodes {