From 14c2b63b686c96be405d447fed79d38661180a83 Mon Sep 17 00:00:00 2001 From: Dayuan Date: Thu, 18 Jan 2024 11:03:43 +0800 Subject: [PATCH] fix: the init e2e test --- test/e2e/e2e_suite_test.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/test/e2e/e2e_suite_test.go b/test/e2e/e2e_suite_test.go index 762cac0f..1a1cb556 100644 --- a/test/e2e/e2e_suite_test.go +++ b/test/e2e/e2e_suite_test.go @@ -32,11 +32,10 @@ var _ = ginkgo.BeforeSuite(func() { gomega.Expect(output).To(gomega.ContainSubstring("Cloning")) }) - ginkgo.By("kusion init code-city", func() { + ginkgo.By("kusion init", func() { path := filepath.Join(GetWorkDir(), "konfig") - output, err := ExecKusionWithStdin("kusion init --online=true --yes=true", path, "\n") + _, err := ExecKusionWithStdin("kusion init --online=true --yes=true", path, "\n") gomega.Expect(err).ShouldNot(gomega.HaveOccurred()) - gomega.Expect(output).To(gomega.ContainSubstring("Created project")) }) ginkgo.By("create sample workspace", func() {