Skip to content

Commit

Permalink
Disable data source name query tests for now
Browse files Browse the repository at this point in the history
  • Loading branch information
danischm committed Sep 20, 2024
1 parent 6834ad1 commit b363dd8
Show file tree
Hide file tree
Showing 17 changed files with 0 additions and 70 deletions.
6 changes: 0 additions & 6 deletions gen/templates/data_source_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,12 +124,6 @@ func TestAccDataSourceMeraki{{camelCase .Name}}(t *testing.T) {
Config: {{if or .TestPrerequisites (len .TestVariables)}}testAccDataSourceMeraki{{camelCase .Name}}PrerequisitesConfig+{{end}}testAccDataSourceMeraki{{camelCase .Name}}Config(),
Check: resource.ComposeTestCheckFunc(checks...),
},
{{- if .DataSourceNameQuery}}
{
Config: {{if or .TestPrerequisites (len .TestVariables)}}testAccDataSourceMeraki{{camelCase .Name}}PrerequisitesConfig+{{end}}testAccNamedDataSourceMeraki{{camelCase .Name}}Config(),
Check: resource.ComposeTestCheckFunc(checks...),
},
{{- end}}
},
})
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,6 @@ func TestAccDataSourceMerakiNetworkGroupPolicy(t *testing.T) {
Config: testAccDataSourceMerakiNetworkGroupPolicyPrerequisitesConfig + testAccDataSourceMerakiNetworkGroupPolicyConfig(),
Check: resource.ComposeTestCheckFunc(checks...),
},
{
Config: testAccDataSourceMerakiNetworkGroupPolicyPrerequisitesConfig + testAccNamedDataSourceMerakiNetworkGroupPolicyConfig(),
Check: resource.ComposeTestCheckFunc(checks...),
},
},
})
}
Expand Down
4 changes: 0 additions & 4 deletions internal/provider/data_source_meraki_network_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,6 @@ func TestAccDataSourceMerakiNetwork(t *testing.T) {
Config: testAccDataSourceMerakiNetworkPrerequisitesConfig + testAccDataSourceMerakiNetworkConfig(),
Check: resource.ComposeTestCheckFunc(checks...),
},
{
Config: testAccDataSourceMerakiNetworkPrerequisitesConfig + testAccNamedDataSourceMerakiNetworkConfig(),
Check: resource.ComposeTestCheckFunc(checks...),
},
},
})
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,6 @@ func TestAccDataSourceMerakiNetworkVLANProfile(t *testing.T) {
Config: testAccDataSourceMerakiNetworkVLANProfilePrerequisitesConfig + testAccDataSourceMerakiNetworkVLANProfileConfig(),
Check: resource.ComposeTestCheckFunc(checks...),
},
{
Config: testAccDataSourceMerakiNetworkVLANProfilePrerequisitesConfig + testAccNamedDataSourceMerakiNetworkVLANProfileConfig(),
Check: resource.ComposeTestCheckFunc(checks...),
},
},
})
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,6 @@ func TestAccDataSourceMerakiOrganizationAdaptivePolicyACL(t *testing.T) {
Config: testAccDataSourceMerakiOrganizationAdaptivePolicyACLPrerequisitesConfig + testAccDataSourceMerakiOrganizationAdaptivePolicyACLConfig(),
Check: resource.ComposeTestCheckFunc(checks...),
},
{
Config: testAccDataSourceMerakiOrganizationAdaptivePolicyACLPrerequisitesConfig + testAccNamedDataSourceMerakiOrganizationAdaptivePolicyACLConfig(),
Check: resource.ComposeTestCheckFunc(checks...),
},
},
})
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,6 @@ func TestAccDataSourceMerakiOrganizationAdaptivePolicyGroup(t *testing.T) {
Config: testAccDataSourceMerakiOrganizationAdaptivePolicyGroupPrerequisitesConfig + testAccDataSourceMerakiOrganizationAdaptivePolicyGroupConfig(),
Check: resource.ComposeTestCheckFunc(checks...),
},
{
Config: testAccDataSourceMerakiOrganizationAdaptivePolicyGroupPrerequisitesConfig + testAccNamedDataSourceMerakiOrganizationAdaptivePolicyGroupConfig(),
Check: resource.ComposeTestCheckFunc(checks...),
},
},
})
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,6 @@ func TestAccDataSourceMerakiOrganizationAdmin(t *testing.T) {
Config: testAccDataSourceMerakiOrganizationAdminPrerequisitesConfig + testAccDataSourceMerakiOrganizationAdminConfig(),
Check: resource.ComposeTestCheckFunc(checks...),
},
{
Config: testAccDataSourceMerakiOrganizationAdminPrerequisitesConfig + testAccNamedDataSourceMerakiOrganizationAdminConfig(),
Check: resource.ComposeTestCheckFunc(checks...),
},
},
})
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,6 @@ func TestAccDataSourceMerakiOrganizationPolicyObject(t *testing.T) {
Config: testAccDataSourceMerakiOrganizationPolicyObjectPrerequisitesConfig + testAccDataSourceMerakiOrganizationPolicyObjectConfig(),
Check: resource.ComposeTestCheckFunc(checks...),
},
{
Config: testAccDataSourceMerakiOrganizationPolicyObjectPrerequisitesConfig + testAccNamedDataSourceMerakiOrganizationPolicyObjectConfig(),
Check: resource.ComposeTestCheckFunc(checks...),
},
},
})
}
Expand Down
4 changes: 0 additions & 4 deletions internal/provider/data_source_meraki_organization_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,6 @@ func TestAccDataSourceMerakiOrganization(t *testing.T) {
Config: testAccDataSourceMerakiOrganizationConfig(),
Check: resource.ComposeTestCheckFunc(checks...),
},
{
Config: testAccNamedDataSourceMerakiOrganizationConfig(),
Check: resource.ComposeTestCheckFunc(checks...),
},
},
})
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,6 @@ func TestAccDataSourceMerakiSwitchAccessPolicy(t *testing.T) {
Config: testAccDataSourceMerakiSwitchAccessPolicyPrerequisitesConfig + testAccDataSourceMerakiSwitchAccessPolicyConfig(),
Check: resource.ComposeTestCheckFunc(checks...),
},
{
Config: testAccDataSourceMerakiSwitchAccessPolicyPrerequisitesConfig + testAccNamedDataSourceMerakiSwitchAccessPolicyConfig(),
Check: resource.ComposeTestCheckFunc(checks...),
},
},
})
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,6 @@ func TestAccDataSourceMerakiSwitchPortSchedule(t *testing.T) {
Config: testAccDataSourceMerakiSwitchPortSchedulePrerequisitesConfig + testAccDataSourceMerakiSwitchPortScheduleConfig(),
Check: resource.ComposeTestCheckFunc(checks...),
},
{
Config: testAccDataSourceMerakiSwitchPortSchedulePrerequisitesConfig + testAccNamedDataSourceMerakiSwitchPortScheduleConfig(),
Check: resource.ComposeTestCheckFunc(checks...),
},
},
})
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,6 @@ func TestAccDataSourceMerakiSwitchRoutingInterface(t *testing.T) {
Config: testAccDataSourceMerakiSwitchRoutingInterfacePrerequisitesConfig + testAccDataSourceMerakiSwitchRoutingInterfaceConfig(),
Check: resource.ComposeTestCheckFunc(checks...),
},
{
Config: testAccDataSourceMerakiSwitchRoutingInterfacePrerequisitesConfig + testAccNamedDataSourceMerakiSwitchRoutingInterfaceConfig(),
Check: resource.ComposeTestCheckFunc(checks...),
},
},
})
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,6 @@ func TestAccDataSourceMerakiSwitchRoutingStaticRoute(t *testing.T) {
Config: testAccDataSourceMerakiSwitchRoutingStaticRoutePrerequisitesConfig + testAccDataSourceMerakiSwitchRoutingStaticRouteConfig(),
Check: resource.ComposeTestCheckFunc(checks...),
},
{
Config: testAccDataSourceMerakiSwitchRoutingStaticRoutePrerequisitesConfig + testAccNamedDataSourceMerakiSwitchRoutingStaticRouteConfig(),
Check: resource.ComposeTestCheckFunc(checks...),
},
},
})
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,6 @@ func TestAccDataSourceMerakiSwitchStackRoutingInterface(t *testing.T) {
Config: testAccDataSourceMerakiSwitchStackRoutingInterfacePrerequisitesConfig + testAccDataSourceMerakiSwitchStackRoutingInterfaceConfig(),
Check: resource.ComposeTestCheckFunc(checks...),
},
{
Config: testAccDataSourceMerakiSwitchStackRoutingInterfacePrerequisitesConfig + testAccNamedDataSourceMerakiSwitchStackRoutingInterfaceConfig(),
Check: resource.ComposeTestCheckFunc(checks...),
},
},
})
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,6 @@ func TestAccDataSourceMerakiSwitchStackRoutingStaticRoute(t *testing.T) {
Config: testAccDataSourceMerakiSwitchStackRoutingStaticRoutePrerequisitesConfig + testAccDataSourceMerakiSwitchStackRoutingStaticRouteConfig(),
Check: resource.ComposeTestCheckFunc(checks...),
},
{
Config: testAccDataSourceMerakiSwitchStackRoutingStaticRoutePrerequisitesConfig + testAccNamedDataSourceMerakiSwitchStackRoutingStaticRouteConfig(),
Check: resource.ComposeTestCheckFunc(checks...),
},
},
})
}
Expand Down
4 changes: 0 additions & 4 deletions internal/provider/data_source_meraki_switch_stack_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,6 @@ func TestAccDataSourceMerakiSwitchStack(t *testing.T) {
Config: testAccDataSourceMerakiSwitchStackPrerequisitesConfig + testAccDataSourceMerakiSwitchStackConfig(),
Check: resource.ComposeTestCheckFunc(checks...),
},
{
Config: testAccDataSourceMerakiSwitchStackPrerequisitesConfig + testAccNamedDataSourceMerakiSwitchStackConfig(),
Check: resource.ComposeTestCheckFunc(checks...),
},
},
})
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,10 +122,6 @@ func TestAccDataSourceMerakiWirelessRFProfile(t *testing.T) {
Config: testAccDataSourceMerakiWirelessRFProfilePrerequisitesConfig + testAccDataSourceMerakiWirelessRFProfileConfig(),
Check: resource.ComposeTestCheckFunc(checks...),
},
{
Config: testAccDataSourceMerakiWirelessRFProfilePrerequisitesConfig + testAccNamedDataSourceMerakiWirelessRFProfileConfig(),
Check: resource.ComposeTestCheckFunc(checks...),
},
},
})
}
Expand Down

0 comments on commit b363dd8

Please sign in to comment.