Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kolaente authored and mach6 committed Apr 19, 2022
1 parent 7b453a3 commit 11d4bf0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions drivers/hetznercloud/create_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -184,15 +184,15 @@ const respInstanceCreate = `
"id": 1,
"type": "system",
"status": "available",
"name": "ubuntu-16.04",
"description": "Ubuntu 16.04",
"name": "ubuntu-20.04",
"description": "Ubuntu 20.04",
"image_size": null,
"disk_size": 5,
"created": "2018-01-15T11:34:45+00:00",
"created_from": null,
"bound_to": null,
"os_flavor": "ubuntu",
"os_version": "16.04",
"os_version": "20.04",
"rapid_deploy": true
},
"iso": null,
Expand Down
2 changes: 1 addition & 1 deletion drivers/hetznercloud/provider_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import "testing"

func TestDefaults(t *testing.T) {
p := New().(*provider)
if got, want := p.image, "ubuntu-16.04"; got != want {
if got, want := p.image, "ubuntu-20.04"; got != want {
t.Errorf("Want image %q, got %q", want, got)
}
if got, want := p.datacenter, ""; got != want {
Expand Down

0 comments on commit 11d4bf0

Please sign in to comment.