feat: Introduce muxing for new elements

This commit is contained in:
xvlcwk
2024-02-05 00:19:08 +01:00
committed by chris
parent 81c08dd5a7
commit ce6854b8b6
84 changed files with 912 additions and 790 deletions

View File

@@ -2,8 +2,9 @@ package bitbucket
import (
"fmt"
"github.com/hashicorp/terraform/helper/resource"
"github.com/hashicorp/terraform/terraform"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
"github.com/hashicorp/terraform-plugin-sdk/v2/terraform"
bitbucketTypes "github.com/xvlcwk-terraform/terraform-provider-bitbucketserver/bitbucket/util/types"
"strings"
"testing"
)
@@ -53,7 +54,7 @@ func TestAccBitbucketUserAccessToken(t *testing.T) {
}
func testAccCheckBitbucketUserAccessTokenDestroy(s *terraform.State) error {
client := testAccProvider.Meta().(*BitbucketServerProvider).BitbucketClient
client := testAccProvider.Meta().(*bitbucketTypes.BitbucketServerProvider).BitbucketClient
rs, ok := s.RootModule().Resources["bitbucketserver_user_access_token.test"]
if !ok {
return fmt.Errorf("not found %s", "bitbucketserver_user_access_token.test")