|
|
|
@ -8,11 +8,11 @@ import (
|
|
|
|
|
|
|
|
|
|
|
|
func testConfig() map[string]interface{} {
|
|
|
|
func testConfig() map[string]interface{} {
|
|
|
|
return map[string]interface{}{
|
|
|
|
return map[string]interface{}{
|
|
|
|
"image": "Ubuntu-16.04",
|
|
|
|
"image": "Ubuntu-16.04",
|
|
|
|
"password": "password",
|
|
|
|
"password": "password",
|
|
|
|
"username": "username",
|
|
|
|
"username": "username",
|
|
|
|
"snapshot_name": "packer",
|
|
|
|
"snapshot_name": "packer",
|
|
|
|
"type": "profitbricks",
|
|
|
|
"type": "profitbricks",
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@ -53,4 +53,4 @@ func TestBuilderPrepare_InvalidKey(t *testing.T) {
|
|
|
|
if err == nil {
|
|
|
|
if err == nil {
|
|
|
|
t.Fatal("should have error")
|
|
|
|
t.Fatal("should have error")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|