Skip to content

Commit 25ba9ed

Browse files
committed
Update acceptance test to embed HCL2 configs
Results after change ``` 2021/09/27 18:32:41 ui: plugin process exited Cleaning up created templates: 019e5305-e2a2-4b91-ae74-696c9c38f2b5 --- PASS: TestBuilderAcc_default_hcl (120.60s) PASS ok github.com/UpCloudLtd/packer-plugin-upcloud/builder/upcloud 120.747s ? github.com/UpCloudLtd/packer-plugin-upcloud/internal [no test files] ```
1 parent c3b2bc6 commit 25ba9ed

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

builder/upcloud/builder_acc_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,13 +78,13 @@ func TestBuilderAcc_networking(t *testing.T) {
7878

7979
// pkr.hcl
8080

81-
//go:embed test-fixtures/json/basic.json
81+
//go:embed test-fixtures/hcl2/basic.pkr.hcl
8282
var testBuildBasicHcl string
8383

84-
//go:embed test-fixtures/json/storage-uuid.json
84+
//go:embed test-fixtures/hcl2/storage-uuid.pkr.hcl
8585
var testBuilderStorageUuidHcl string
8686

87-
//go:embed test-fixtures/json/storage-name.json
87+
//go:embed test-fixtures/hcl2/storage-name.pkr.hcl
8888
var testBuilderStorageNameHcl string
8989

9090
func TestBuilderAcc_default_hcl(t *testing.T) {

0 commit comments

Comments
 (0)