Skip to content

Commit

Permalink
fix: the init e2e test (#756)
Browse files Browse the repository at this point in the history
  • Loading branch information
SparkYuan committed Jan 18, 2024
1 parent 7a4f900 commit 1b1b256
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions test/e2e/e2e_suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 1b1b256

Please sign in to comment.