Skip to content

Commit 4cf6a87

Browse files
committed
Use ImportPlanVerify
1 parent b0a502e commit 4cf6a87

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

helper/resource/importstate/import_block_in_config_directory_test.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ func Test_ImportBlock_InConfigDirectory(t *testing.T) {
3737
},
3838
},
3939
{
40-
ResourceName: "examplecloud_container.test",
41-
ImportState: true,
42-
ImportStateKind: r.ImportBlockWithID,
43-
// ImportStateVerify: true,
40+
ResourceName: "examplecloud_container.test",
41+
ImportState: true,
42+
ImportStateKind: r.ImportBlockWithID,
43+
ImportPlanVerify: true,
4444
ConfigDirectory: func(config.TestStepConfigRequest) string {
4545
return `testdata/2`
4646
},

helper/resource/importstate/import_block_in_config_file_test.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ func Test_ImportBlock_InConfigFile(t *testing.T) {
3737
},
3838
},
3939
{
40-
ResourceName: "examplecloud_container.test",
41-
ImportState: true,
42-
ImportStateKind: r.ImportBlockWithID,
43-
// ImportStateVerify: true,
40+
ResourceName: "examplecloud_container.test",
41+
ImportState: true,
42+
ImportStateKind: r.ImportBlockWithID,
43+
ImportPlanVerify: true,
4444
ConfigFile: func(config.TestStepConfigRequest) string {
4545
return `testdata/2/examplecloud_container_import.tf`
4646
},

0 commit comments

Comments
 (0)