Skip to content

Commit

Permalink
Cosmetic test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
danischm committed Dec 20, 2024
1 parent 479d8ac commit e6e3ba7
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 8 deletions.
18 changes: 12 additions & 6 deletions gen/definitions/fabric_site.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ doc_category: SDA
attributes:
- model_name: siteId
requires_replace: true
data_path: '0'
data_path: "0"
match_id: true
data_source_query: true
response_data_path: siteId
Expand All @@ -21,15 +21,21 @@ attributes:
example: 8e6f7b3a-2b0b-4a7d-8b1c-0d4b1cd5e1b1
test_value: catalystcenter_area.test.id
- model_name: authenticationProfileName
data_path: '0'
data_path: "0"
response_data_path: authenticationProfileName
mandatory: true
type: String
description: Authentication profile used for this fabric
enum_values: [Closed Authentication, Low Impact, No Authentication, Open Authentication]
enum_values:
[
Closed Authentication,
Low Impact,
No Authentication,
Open Authentication,
]
example: No Authentication
- model_name: isPubSubEnabled
data_path: '0'
data_path: "0"
response_data_path: isPubSubEnabled
tf_name: pub_sub_enabled
type: Bool
Expand All @@ -38,6 +44,6 @@ attributes:
example: false
test_prerequisites: |
resource "catalystcenter_area" "test" {
name = "Area 1"
name = "Area1"
parent_name = "Global"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,10 @@ func TestAccDataSourceCcFabricSite(t *testing.T) {
// Section below is generated&owned by "gen/generator.go". //template:begin testPrerequisites
const testAccDataSourceCcFabricSitePrerequisitesConfig = `
resource "catalystcenter_area" "test" {
name = "Area 1"
name = "Area1"
parent_name = "Global"
}
`

// End of section. //template:end testPrerequisites
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,10 @@ func TestAccCcFabricSite(t *testing.T) {
// Section below is generated&owned by "gen/generator.go". //template:begin testPrerequisites
const testAccCcFabricSitePrerequisitesConfig = `
resource "catalystcenter_area" "test" {
name = "Area 1"
name = "Area1"
parent_name = "Global"
}
`

// End of section. //template:end testPrerequisites
Expand Down

0 comments on commit e6e3ba7

Please sign in to comment.