From bd4432f709896d603f32be5e2db496516f229268 Mon Sep 17 00:00:00 2001 From: Pehesi97 Date: Fri, 13 Oct 2023 17:45:00 -0300 Subject: [PATCH] fix: template_test --- src/cli/template_test.go | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/cli/template_test.go b/src/cli/template_test.go index 39e9e0a..b3127ff 100644 --- a/src/cli/template_test.go +++ b/src/cli/template_test.go @@ -3,12 +3,13 @@ package cli import ( "bytes" "fmt" - "github.com/nearform/initium-cli/src/services/project" - "github.com/urfave/cli/v2" - "gotest.tools/v3/assert" "os" "path" "testing" + + "github.com/nearform/initium-cli/src/services/project" + "github.com/urfave/cli/v2" + "gotest.tools/v3/assert" ) const root = "../../" @@ -65,6 +66,7 @@ func TestShouldRenderDockerTemplate(t *testing.T) { Name: string(projectType), Directory: path.Join(root, props["directory"]), Resources: os.DirFS(root), + Language: "auto", }, Writer: &buffer, }