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 {