atlassian / terraform-provider-artifactory

Terraform provider to manage Artifactory
Apache License 2.0
89 stars 42 forks source link

artifactory_certificate testcase is wrongly configured #64

Closed volkc-basf closed 4 years ago

volkc-basf commented 4 years ago

Community Note

Terraform Version

all

Affected Resource(s)

Expected Behavior

CheckDestroy should execute testAccCheckCertificateDestroy

Actual Behavior

It acutally refers to testAccCheckUserDestroy

bodgit commented 4 years ago

Good catch, I must have started with the user tests as the basis for the certificate ones, and it manages to pass as it tries to find a user with the certificate ID so it assumes it was deleted.

I'll create a small PR to fix this.