|
6 | 6 | "testing"
|
7 | 7 |
|
8 | 8 | "github.com/hashicorp/terraform-plugin-testing/helper/resource"
|
9 |
| - "github.com/port-labs/terraform-provider-port-labs/internal/acctest" |
10 |
| - "github.com/port-labs/terraform-provider-port-labs/internal/utils" |
| 9 | + "github.com/port-labs/terraform-provider-port-labs/v2/internal/acctest" |
| 10 | + "github.com/port-labs/terraform-provider-port-labs/v2/internal/utils" |
11 | 11 | )
|
12 | 12 |
|
13 | 13 | func testAccCreateBlueprintConfig(identifier string) string {
|
@@ -76,7 +76,7 @@ func TestAccPortAction(t *testing.T) {
|
76 | 76 | "myStringIdentifier" = {
|
77 | 77 | "title" = "My String Identifier"
|
78 | 78 | "required" = true
|
79 |
| - |
| 79 | +
|
80 | 80 | }
|
81 | 81 | }
|
82 | 82 | "number_props" = {
|
@@ -752,7 +752,7 @@ func TestAccPortActionEnumJqQuery(t *testing.T) {
|
752 | 752 | enum_jq_query = "[1, 2]"
|
753 | 753 | }
|
754 | 754 | }
|
755 |
| - |
| 755 | +
|
756 | 756 | }
|
757 | 757 | }
|
758 | 758 | }
|
@@ -1212,7 +1212,7 @@ func TestAccPortActionRequiredConflictsWithRequiredJQ(t *testing.T) {
|
1212 | 1212 | self_service_trigger = {
|
1213 | 1213 | operation = "DAY-2"
|
1214 | 1214 | blueprint_identifier = port_blueprint.microservice.identifier
|
1215 |
| - user_properties = { |
| 1215 | + user_properties = { |
1216 | 1216 | "string_props" = {
|
1217 | 1217 | "equalsOne" = {
|
1218 | 1218 | "title" = "equalsOne"
|
@@ -1313,13 +1313,13 @@ func TestAccPortActionRequiredFalseAndNull(t *testing.T) {
|
1313 | 1313 | self_service_trigger = {
|
1314 | 1314 | operation = "DAY-2"
|
1315 | 1315 | blueprint_identifier = port_blueprint.microservice.identifier
|
1316 |
| - user_properties = { |
| 1316 | + user_properties = { |
1317 | 1317 | "string_props" = {
|
1318 | 1318 | "notRequiredExist" = {
|
1319 | 1319 | "title" = "notEqualsOne"
|
1320 | 1320 | }
|
1321 | 1321 | "requiredTrue" = {
|
1322 |
| - "title" = "notEqualsOne" |
| 1322 | + "title" = "notEqualsOne" |
1323 | 1323 | "required" = true
|
1324 | 1324 | }
|
1325 | 1325 | }
|
@@ -1684,25 +1684,25 @@ func TestAccPortActionNoUserPropertiesConditional(t *testing.T) {
|
1684 | 1684 | title = "Prop"
|
1685 | 1685 | }
|
1686 | 1686 | } : null
|
1687 |
| - |
| 1687 | +
|
1688 | 1688 | number_props = port_blueprint.microservice.identifier == "notTheRealIdentifier" ? {
|
1689 | 1689 | numProp = {
|
1690 | 1690 | title = "Prop"
|
1691 | 1691 | }
|
1692 | 1692 | } : null
|
1693 |
| - |
| 1693 | +
|
1694 | 1694 | boolean_props = port_blueprint.microservice.identifier == "notTheRealIdentifier" ? {
|
1695 | 1695 | boolProp = {
|
1696 | 1696 | title = "Prop"
|
1697 | 1697 | }
|
1698 | 1698 | } : null
|
1699 |
| - |
| 1699 | +
|
1700 | 1700 | object_props = port_blueprint.microservice.identifier == "notTheRealIdentifier" ? {
|
1701 | 1701 | objProp = {
|
1702 | 1702 | title = "Prop"
|
1703 | 1703 | }
|
1704 | 1704 | } : null
|
1705 |
| - |
| 1705 | +
|
1706 | 1706 | array_props = port_blueprint.microservice.identifier == "notTheRealIdentifier" ? {
|
1707 | 1707 | arrProp = {
|
1708 | 1708 | title = "Prop"
|
|
0 commit comments