Skip to content

Commit 11d4bf0

Browse files
kolaentemach6
authored andcommitted
Fix tests
1 parent 7b453a3 commit 11d4bf0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

drivers/hetznercloud/create_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -184,15 +184,15 @@ const respInstanceCreate = `
184184
"id": 1,
185185
"type": "system",
186186
"status": "available",
187-
"name": "ubuntu-16.04",
188-
"description": "Ubuntu 16.04",
187+
"name": "ubuntu-20.04",
188+
"description": "Ubuntu 20.04",
189189
"image_size": null,
190190
"disk_size": 5,
191191
"created": "2018-01-15T11:34:45+00:00",
192192
"created_from": null,
193193
"bound_to": null,
194194
"os_flavor": "ubuntu",
195-
"os_version": "16.04",
195+
"os_version": "20.04",
196196
"rapid_deploy": true
197197
},
198198
"iso": null,

drivers/hetznercloud/provider_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import "testing"
88

99
func TestDefaults(t *testing.T) {
1010
p := New().(*provider)
11-
if got, want := p.image, "ubuntu-16.04"; got != want {
11+
if got, want := p.image, "ubuntu-20.04"; got != want {
1212
t.Errorf("Want image %q, got %q", want, got)
1313
}
1414
if got, want := p.datacenter, ""; got != want {

0 commit comments

Comments
 (0)