Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
enkodr committed May 2, 2023
1 parent a439e26 commit 8e62717
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/vm/tpl_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ func TestLocalFileLoadInvalidData(t *testing.T) {
}

func TestRemoteFileValidName(t *testing.T) {
name := "ubuntu-lts"
name := "default"
data, _ := os.ReadFile(fmt.Sprintf("../../templates/%s.yaml", name))
want := &VMConfig{}
err := yaml.Unmarshal(data, want)
Expand Down Expand Up @@ -117,7 +117,7 @@ func TestParseTemplate_InvalidYAML(t *testing.T) {

func TestParseTemplateExtends(t *testing.T) {
want := []byte(`name: TestVM
extends: ubuntu-lts
extends: default
`)

got, err := parseTemplate(want)
Expand Down

0 comments on commit 8e62717

Please sign in to comment.