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,13 +2,14 @@ package bitbucket
import (
"fmt"
bitbucketTypes "github.com/xvlcwk-terraform/terraform-provider-bitbucketserver/bitbucket/util/types"
"math/rand"
"strings"
"testing"
"time"
"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"
)
func TestAccBitbucketUser(t *testing.T) {
@@ -51,7 +52,7 @@ func TestAccBitbucketUser(t *testing.T) {
}
func testAccCheckBitbucketUserDestroy(s *terraform.State) error {
client := testAccProvider.Meta().(*BitbucketServerProvider).BitbucketClient
client := testAccProvider.Meta().(*bitbucketTypes.BitbucketServerProvider).BitbucketClient
rs, ok := s.RootModule().Resources["bitbucketserver_user.test"]
if !ok {
return fmt.Errorf("not found %s", "bitbucketserver_user.test")