Skip to content

Commit

Permalink
Fix expected output in 'odo deploy' interactive tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rm3l committed Sep 20, 2023
1 parent 041d696 commit d57d1a1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/integration/interactive_deploy_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,11 @@ var _ = Describe("odo deploy interactive command tests", func() {
helper.ExpectString(ctx, "Enter component name")
helper.SendLine(ctx, "my-app")

helper.ExpectString(ctx, "no default deploy command found in devfile")
helper.ExpectString(ctx, "no deploy command found in devfile")
})

Expect(err).To(Not(BeNil()))
Expect(output).To(ContainSubstring("no default deploy command found in devfile"))
Expect(output).To(ContainSubstring("no deploy command found in devfile"))
Expect(helper.ListFilesInDir(commonVar.Context)).To(ContainElements("devfile.yaml"))
})

Expand Down Expand Up @@ -98,11 +98,11 @@ var _ = Describe("odo deploy interactive command tests", func() {
helper.ExpectString(ctx, "Enter component name")
helper.SendLine(ctx, "my-app")

helper.ExpectString(ctx, "no default deploy command found in devfile")
helper.ExpectString(ctx, "no deploy command found in devfile")
})

Expect(err).To(Not(BeNil()))
Expect(output).To(ContainSubstring("no default deploy command found in devfile"))
Expect(output).To(ContainSubstring("no deploy command found in devfile"))
Expect(helper.ListFilesInDir(commonVar.Context)).To(ContainElements("devfile.yaml"))
})

Expand Down Expand Up @@ -139,7 +139,7 @@ var _ = Describe("odo deploy interactive command tests", func() {
helper.ExpectString(ctx, "Enter component name")
helper.SendLine(ctx, "my-app")

helper.ExpectString(ctx, "no default deploy command found in devfile")
helper.ExpectString(ctx, "no deploy command found in devfile")
})

Expect(err).To(Not(BeNil()))
Expand Down

0 comments on commit d57d1a1

Please sign in to comment.