@@ -3,7 +3,7 @@ package catalog
33import (
44 "testing"
55
6- "github.com/databricks/databricks-sdk-go/service/unitycatalog "
6+ "github.com/databricks/databricks-sdk-go/service/catalog "
77 "github.com/databricks/terraform-provider-databricks/qa"
88 "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
99 "github.com/stretchr/testify/assert"
@@ -16,8 +16,8 @@ func TestTablesData(t *testing.T) {
1616 {
1717 Method : "GET" ,
1818 Resource : "/api/2.1/unity-catalog/tables?catalog_name=a&schema_name=b" ,
19- Response : unitycatalog .ListTablesResponse {
20- Tables : []unitycatalog .TableInfo {
19+ Response : catalog .ListTablesResponse {
20+ Tables : []catalog .TableInfo {
2121 {
2222 FullName : "a.b.c" ,
2323 Name : "c" ,
@@ -48,8 +48,8 @@ func TestTablesDataIssue1264(t *testing.T) {
4848 {
4949 Method : "GET" ,
5050 Resource : "/api/2.1/unity-catalog/tables?catalog_name=a&schema_name=b" ,
51- Response : unitycatalog .ListTablesResponse {
52- Tables : []unitycatalog .TableInfo {
51+ Response : catalog .ListTablesResponse {
52+ Tables : []catalog .TableInfo {
5353 {
5454 Name : "a" ,
5555 FullName : "a.b.a" ,
@@ -80,8 +80,8 @@ func TestTablesDataIssue1264(t *testing.T) {
8080 {
8181 Method : "GET" ,
8282 Resource : "/api/2.1/unity-catalog/tables?catalog_name=a&schema_name=b" ,
83- Response : unitycatalog .ListTablesResponse {
84- Tables : []unitycatalog .TableInfo {
83+ Response : catalog .ListTablesResponse {
84+ Tables : []catalog .TableInfo {
8585 {
8686 Name : "c" ,
8787 FullName : "a.b.c" ,
0 commit comments