logical/aws: Clean up test user (#7459)

I probably left this cleanup commented out as part of debugging test
errors in #6789 and forgot to uncomment it, so actually cleaning up the
test user.
This commit is contained in:
Joel Thompson
2019-09-13 11:05:43 -07:00
committed by Calvin Leung Huang
parent 02c9dbcb64
commit 058343a248

View File

@@ -917,8 +917,7 @@ func TestBackend_FederationTokenWithPolicyARN(t *testing.T) {
testAccStepRead(t, "creds", "test", []credentialTestFunc{listDynamoTablesTest, describeAzsTestUnauthorized}),
},
Teardown: func() error {
//return deleteTestUser(accessKey, userName)
return nil
return deleteTestUser(accessKey, userName)
},
})
}