Skip to content

Commit

Permalink
removed unnecessary test
Browse files Browse the repository at this point in the history
  • Loading branch information
katbyte committed Jun 12, 2018
1 parent ccea935 commit ce97587
Showing 1 changed file with 0 additions and 32 deletions.
32 changes: 0 additions & 32 deletions azurerm/resource_arm_servicebus_namespace_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,38 +62,6 @@ func testSweepServiceBusNamespace(region string) error {
return nil
}

func TestAccAzureRMServiceBusNamespaceCapacity_validation(t *testing.T) {
cases := []struct {
Value int
ErrCount int
}{
{
Value: 17,
ErrCount: 1,
},
{
Value: 1,
ErrCount: 0,
},
{
Value: 2,
ErrCount: 0,
},
{
Value: 4,
ErrCount: 0,
},
}

for _, tc := range cases {
_, errors := validateServiceBusNamespaceCapacity(tc.Value, "azurerm_servicebus_namespace")

if len(errors) != tc.ErrCount {
t.Fatalf("Expected the Azure RM ServiceBus Namespace Capacity to trigger a validation error")
}
}
}

func TestAccAzureRMServiceBusNamespace_basic(t *testing.T) {
resourceName := "azurerm_servicebus_namespace.test"
ri := acctest.RandInt()
Expand Down

0 comments on commit ce97587

Please sign in to comment.