diff --git a/builder/profitbricks/builder_acc_test.go b/builder/profitbricks/builder_acc_test.go index c6ef0ed33..921dc9d73 100644 --- a/builder/profitbricks/builder_acc_test.go +++ b/builder/profitbricks/builder_acc_test.go @@ -29,9 +29,9 @@ const testBuilderAccBasic = ` { "builders": [{ "image": "Ubuntu-16.04", - "pbpassword": "password", - "pbusername": "username", - "servername": "packer", + "password": "password", + "username": "username", + "snapshot_name": "packer", "type": "profitbricks" }] } diff --git a/builder/profitbricks/builder_test.go b/builder/profitbricks/builder_test.go index 65e284690..b1f74ff2a 100644 --- a/builder/profitbricks/builder_test.go +++ b/builder/profitbricks/builder_test.go @@ -8,11 +8,11 @@ import ( func testConfig() map[string]interface{} { return map[string]interface{}{ - "image": "Ubuntu-16.04", - "password": "password", - "username": "username", + "image": "Ubuntu-16.04", + "password": "password", + "username": "username", "snapshot_name": "packer", - "type": "profitbricks", + "type": "profitbricks", } } @@ -53,4 +53,4 @@ func TestBuilderPrepare_InvalidKey(t *testing.T) { if err == nil { t.Fatal("should have error") } -} +} \ No newline at end of file