Added resource.bitbucketserver_plugin

This commit is contained in:
Gavin Bunney
2019-10-14 11:38:39 -07:00
parent 78aafda47e
commit 6d0d523a9b
35 changed files with 967 additions and 246 deletions

View File

@@ -36,7 +36,7 @@ func TestAccBitbucketMailServer(t *testing.T) {
}
func testAccCheckBitbucketMailServerDestroy(s *terraform.State) error {
client := testAccProvider.Meta().(*BitbucketClient)
client := testAccProvider.Meta().(*BitbucketServerProvider).BitbucketClient
_, ok := s.RootModule().Resources["bitbucketserver_mail_server.test"]
if !ok {
return fmt.Errorf("not found %s", "bitbucketserver_mail_server.test")