Skip to content

Commit 08ef4a5

Browse files
committed
Test updates
1 parent 4b5ac42 commit 08ef4a5

7 files changed

Lines changed: 5 additions & 14 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Resources and data sources have been tested with the following releases.
99
| Platform | Version |
1010
| -------- | ------- |
1111
| FMC | 7.2.10 |
12-
| FMC | 7.4.4 |
12+
| FMC | 7.4.5 |
1313
| FMC | 7.6.2 |
1414
| FMC | 7.7.11 |
1515
| FMC | 10.0.0 |

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Resources and data sources have been tested with the following releases.
1616
| Platform | Version |
1717
| -------- | ------- |
1818
| FMC | 7.2.10 |
19-
| FMC | 7.4.4 |
19+
| FMC | 7.4.5 |
2020
| FMC | 7.6.2 |
2121
| FMC | 7.7.11 |
2222
| FMC | 10.0.0 |

gen/definitions/dynamic_objects.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ rest_endpoint: /api/fmc_config/v1/domain/{DOMAIN_UUID}/object/dynamicobjects
55
res_description: This resource manages Dynamic Objects through bulk operations.
66
doc_category: Objects
77
is_bulk: true
8-
skip_test_for_versions: ["7.4", "CDFMC"]
98
attributes:
109
- model_name: items
1110
type: Map

internal/provider/data_source_fmc_dynamic_objects_test.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ package provider
1919

2020
// Section below is generated&owned by "gen/generator.go". //template:begin imports
2121
import (
22-
"os"
23-
"slices"
2422
"testing"
2523

2624
"github.com/hashicorp/terraform-plugin-testing/helper/resource"
@@ -31,9 +29,6 @@ import (
3129
// Section below is generated&owned by "gen/generator.go". //template:begin testAccDataSource
3230

3331
func TestAccDataSourceFmcDynamicObjects(t *testing.T) {
34-
if v := os.Getenv("FMC_VERSION"); v != "" && slices.Contains([]string{"7.4", "CDFMC"}, v) {
35-
t.Skip("skipping test for FMC version " + v)
36-
}
3732
var checks []resource.TestCheckFunc
3833
checks = append(checks, resource.TestCheckResourceAttrSet("data.fmc_dynamic_objects.test", "items.dynamic_object_1.id"))
3934
checks = append(checks, resource.TestCheckResourceAttrSet("data.fmc_dynamic_objects.test", "items.dynamic_object_1.type"))

internal/provider/resource_fmc_dynamic_objects_test.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,6 @@ import (
3131
// Section below is generated&owned by "gen/generator.go". //template:begin testAcc
3232

3333
func TestAccFmcDynamicObjects(t *testing.T) {
34-
if v := os.Getenv("FMC_VERSION"); v != "" && slices.Contains([]string{"7.4", "CDFMC"}, v) {
35-
t.Skip("skipping test for FMC version " + v)
36-
}
3734
var checks []resource.TestCheckFunc
3835
checks = append(checks, resource.TestCheckResourceAttrSet("fmc_dynamic_objects.test", "items.dynamic_object_1.id"))
3936
checks = append(checks, resource.TestCheckResourceAttrSet("fmc_dynamic_objects.test", "items.dynamic_object_1.type"))

internal/provider/resource_fmc_network_group_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ func TestAccFmcNetworkGroup_Extended(t *testing.T) {
125125
config += ` ip_range = "192.168.1.0-192.168.1.10"` + "\n"
126126
config += `}` + "\n"
127127

128-
config += `resource "fmc_fqdn_object" "ng_fqdn1" {` + "\n"
128+
config += `resource "fmc_fqdn" "ng_fqdn1" {` + "\n"
129129
config += ` name = "ng_fqdn1"` + "\n"
130130
config += ` fqdn = "www.example.com"` + "\n"
131131
config += `}` + "\n"
@@ -148,7 +148,7 @@ func TestAccFmcNetworkGroup_Extended(t *testing.T) {
148148
config += ` { id = fmc_host.ng_host1.id },` + "\n"
149149
config += ` { id = fmc_network.ng_network1.id },` + "\n"
150150
config += ` { id = fmc_range.ng_range1.id },` + "\n"
151-
config += ` { id = fmc_fqdn_object.ng_fqdn1.id }` + "\n"
151+
config += ` { id = fmc_fqdn.ng_fqdn1.id }` + "\n"
152152
config += ` ]` + "\n"
153153
config += ` literals = [` + "\n"
154154
config += ` { value = "10.10.11.12" },` + "\n"

templates/index.md.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Resources and data sources have been tested with the following releases.
1616
| Platform | Version |
1717
| -------- | ------- |
1818
| FMC | 7.2.10 |
19-
| FMC | 7.4.4 |
19+
| FMC | 7.4.5 |
2020
| FMC | 7.6.2 |
2121
| FMC | 7.7.11 |
2222
| FMC | 10.0.0 |

0 commit comments

Comments
 (0)