From 32fa37acf5254521ea72c643f3f6b9f7737cc337 Mon Sep 17 00:00:00 2001 From: Ravi Chodavarapu Date: Tue, 16 Apr 2024 22:22:38 -0400 Subject: [PATCH] Fix test --- test/integration/access_codes_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/integration/access_codes_test.go b/test/integration/access_codes_test.go index f207d2f..77a46ab 100644 --- a/test/integration/access_codes_test.go +++ b/test/integration/access_codes_test.go @@ -130,14 +130,14 @@ func TestAccessCodes(t *testing.T) { // require.NoError(t, err) // assert.Equal(t, seamgo.AccessCodeTypeTimeBound, accessCode.Type) - deleteAcitonAttempt, err := seam.AccessCodes.Delete( + deleteResponse, err := seam.AccessCodes.Delete( ctx, &seamgo.AccessCodesDeleteRequest{ AccessCodeId: createdAccessCode.AccessCodeId, }, ) require.NoError(t, err) - assert.NotNil(t, deleteAcitonAttempt.Success) + assert.NotNil(t, deleteResponse.ActionAttempt.Success) deviceIds := make([]string, 0, len(accessCodes)) for _, accessCode := range accessCodes {