@@ -11,10 +11,9 @@ import (
1111 "testing"
1212
1313 "github.com/databricks/cli/cmd/root"
14- "github.com/databricks/cli/internal"
1514 "github.com/databricks/cli/internal/acc"
1615 "github.com/databricks/cli/internal/testcli"
17- "github.com/databricks/cli/libs/env "
16+ "github.com/databricks/cli/internal/testutil "
1817 "github.com/databricks/databricks-sdk-go"
1918 "github.com/databricks/databricks-sdk-go/apierr"
2019 "github.com/databricks/databricks-sdk-go/service/catalog"
@@ -133,7 +132,7 @@ func TestAccBundlePipelineDeleteWithoutAutoApprove(t *testing.T) {
133132 ctx , wt := acc .WorkspaceTest (t )
134133 w := wt .W
135134
136- nodeTypeId := internal . GetNodeTypeId ( env . Get ( ctx , "CLOUD_ENV" ) )
135+ nodeTypeId := testutil . GetCloud ( t ). NodeTypeID ( )
137136 uniqueId := uuid .New ().String ()
138137 bundleRoot , err := initTestTemplate (t , ctx , "deploy_then_remove_resources" , map [string ]any {
139138 "unique_id" : uniqueId ,
@@ -219,7 +218,7 @@ properties such as the 'catalog' or 'storage' are changed:
219218func TestAccDeployBasicBundleLogs (t * testing.T ) {
220219 ctx , wt := acc .WorkspaceTest (t )
221220
222- nodeTypeId := internal . GetNodeTypeId ( env . Get ( ctx , "CLOUD_ENV" ) )
221+ nodeTypeId := testutil . GetCloud ( t ). NodeTypeID ( )
223222 uniqueId := uuid .New ().String ()
224223 root , err := initTestTemplate (t , ctx , "basic" , map [string ]any {
225224 "unique_id" : uniqueId ,
0 commit comments