From b8fb1b5ed9a27e4d46c09c13684479c15cfc0ba4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1ximo=20Cuadros?= Date: Mon, 22 May 2017 15:40:41 +0200 Subject: [PATCH] ignition: tests as unit test (#14703) --- builtin/providers/ignition/resource_ignition_config_test.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/builtin/providers/ignition/resource_ignition_config_test.go b/builtin/providers/ignition/resource_ignition_config_test.go index 977ee7516..22ea3daa0 100644 --- a/builtin/providers/ignition/resource_ignition_config_test.go +++ b/builtin/providers/ignition/resource_ignition_config_test.go @@ -70,7 +70,8 @@ func TestIngnitionFileAppend(t *testing.T) { func testIgnitionError(t *testing.T, input string, expectedErr *regexp.Regexp) { resource.Test(t, resource.TestCase{ - Providers: testProviders, + IsUnitTest: true, + Providers: testProviders, Steps: []resource.TestStep{ { Config: fmt.Sprintf(testTemplate, input), @@ -94,7 +95,8 @@ func testIgnition(t *testing.T, input string, assert func(*types.Config) error) } resource.Test(t, resource.TestCase{ - Providers: testProviders, + IsUnitTest: true, + Providers: testProviders, Steps: []resource.TestStep{ { Config: fmt.Sprintf(testTemplate, input),