@@ -33,7 +33,7 @@ func TestAccCloudStackQuotaTariff_basic(t *testing.T) {
3333 var quotaTariff cloudstack.QuotaTariffList
3434
3535 resource .Test (t , resource.TestCase {
36- PreCheck : func () { testAccPreCheck (t ) },
36+ PreCheck : func () { testAccPreCheckQuotaSupport (t ) },
3737 Providers : testAccProviders ,
3838 CheckDestroy : testAccCheckCloudStackQuotaTariffDestroy ,
3939 Steps : []resource.TestStep {
@@ -54,7 +54,7 @@ func TestAccCloudStackQuotaTariff_update(t *testing.T) {
5454 var quotaTariff cloudstack.QuotaTariffList
5555
5656 resource .Test (t , resource.TestCase {
57- PreCheck : func () { testAccPreCheck (t ) },
57+ PreCheck : func () { testAccPreCheckQuotaSupport (t ) },
5858 Providers : testAccProviders ,
5959 CheckDestroy : testAccCheckCloudStackQuotaTariffDestroy ,
6060 Steps : []resource.TestStep {
@@ -83,7 +83,7 @@ func TestAccCloudStackQuotaTariff_import(t *testing.T) {
8383 resourceName := "cloudstack_quota_tariff.test"
8484
8585 resource .Test (t , resource.TestCase {
86- PreCheck : func () { testAccPreCheck (t ) },
86+ PreCheck : func () { testAccPreCheckQuotaSupport (t ) },
8787 Providers : testAccProviders ,
8888 CheckDestroy : testAccCheckCloudStackQuotaTariffDestroy ,
8989 Steps : []resource.TestStep {
@@ -179,7 +179,7 @@ resource "cloudstack_quota_tariff" "test" {
179179// Test validation errors
180180func TestAccCloudStackQuotaTariff_validation (t * testing.T ) {
181181 resource .Test (t , resource.TestCase {
182- PreCheck : func () { testAccPreCheck (t ) },
182+ PreCheck : func () { testAccPreCheckQuotaSupport (t ) },
183183 Providers : testAccProviders ,
184184 Steps : []resource.TestStep {
185185 {
@@ -199,7 +199,7 @@ func TestAccCloudStackQuotaTariff_activationRules(t *testing.T) {
199199 var quotaTariff cloudstack.QuotaTariffList
200200
201201 resource .Test (t , resource.TestCase {
202- PreCheck : func () { testAccPreCheck (t ) },
202+ PreCheck : func () { testAccPreCheckQuotaSupport (t ) },
203203 Providers : testAccProviders ,
204204 CheckDestroy : testAccCheckCloudStackQuotaTariffDestroy ,
205205 Steps : []resource.TestStep {
@@ -219,7 +219,7 @@ func TestAccCloudStackQuotaTariff_complexActivationRules(t *testing.T) {
219219 var quotaTariff cloudstack.QuotaTariffList
220220
221221 resource .Test (t , resource.TestCase {
222- PreCheck : func () { testAccPreCheck (t ) },
222+ PreCheck : func () { testAccPreCheckQuotaSupport (t ) },
223223 Providers : testAccProviders ,
224224 CheckDestroy : testAccCheckCloudStackQuotaTariffDestroy ,
225225 Steps : []resource.TestStep {
0 commit comments