Updates environment variable output
* Updates environment variable output
Bolds the info message for outputting the environment variables as well
as changes the grammar.
* Update message
@@ -209,13 +209,13 @@ var _ = Describe("odo link and unlink command tests", func() {
// tests for linking a component to a component
stdOut := helper.CmdShouldPass("odo", "link", "component2", "--context", context1)
- Expect(stdOut).To(ContainSubstring("Following environment variables were added"))
+ Expect(stdOut).To(ContainSubstring("The below secret environment variables were added"))
Expect(stdOut).To(ContainSubstring("COMPONENT_COMPONENT2_HOST"))
Expect(stdOut).To(ContainSubstring("COMPONENT_COMPONENT2_PORT"))
// tests for unlinking a component from a component
stdOut = helper.CmdShouldPass("odo", "unlink", "component2", "--context", context1)
- Expect(stdOut).To(ContainSubstring("Following environment variables were removed"))
+ Expect(stdOut).To(ContainSubstring("The below secret environment variables were removed"))
Expect(stdOut).To(ContainSubstring("COMPONENT_COMPONENT2_HOST"))
Expect(stdOut).To(ContainSubstring("COMPONENT_COMPONENT2_PORT"))
@@ -230,13 +230,13 @@ var _ = Describe("odo link and unlink command tests", func() {
// tests for linking a service to a component
stdOut = helper.CmdShouldPass("odo", "link", "dh-postgresql-apb", "--context", context1)
- Expect(stdOut).To(ContainSubstring("Following environment variables were added"))
+ Expect(stdOut).To(ContainSubstring("The below secret environment variables were added"))
Expect(stdOut).To(ContainSubstring("DB_PORT"))
Expect(stdOut).To(ContainSubstring("DB_HOST"))
// tests for unlinking a service to a component
stdOut = helper.CmdShouldPass("odo", "unlink", "dh-postgresql-apb", "--context", context1)
- Expect(stdOut).To(ContainSubstring("Following environment variables were removed"))
+ Expect(stdOut).To(ContainSubstring("The below secret environment variables were removed"))
Expect(stdOut).To(ContainSubstring("DB_PORT"))
Expect(stdOut).To(ContainSubstring("DB_HOST"))
})
