Skip to content

Commit 2720086

Browse files
josephholstencodycushing
authored andcommitted
provider_test: fix invalid configs (#218)
1 parent bcdd1c4 commit 2720086

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

provider_test.go

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,19 @@ package main
44

55
import (
66
"errors"
7-
"testing"
8-
97
"os"
108
"strconv"
9+
"testing"
1110

1211
"github.com/MustWin/baremetal-sdk-go"
1312
"github.com/hashicorp/terraform/helper/resource"
1413
"github.com/hashicorp/terraform/helper/schema"
1514
"github.com/hashicorp/terraform/terraform"
1615
"github.com/stretchr/testify/assert"
16+
"github.com/stretchr/testify/mock"
1717

1818
"github.com/oracle/terraform-provider-baremetal/client"
1919
"github.com/oracle/terraform-provider-baremetal/client/mocks"
20-
"github.com/stretchr/testify/mock"
2120
)
2221

2322
func testProviderConfig() string {
@@ -116,11 +115,11 @@ data "baremetal_core_images" "t" {
116115
limit = 1
117116
}
118117
119-
data "baremetal_core_policies" "policies" {
118+
data "baremetal_identity_policies" "policies" {
120119
compartment_id = "${var.compartment_id}"
121120
}
122121
123-
data "baremetal_core_protocols" "protocols" {
122+
data "baremetal_load_balancer_protocols" "protocols" {
124123
compartment_id = "${var.compartment_id}"
125124
}
126125

0 commit comments

Comments
 (0)