Remove unnecessary preference set
@@ -40,7 +40,6 @@ var _ = Describe("odo devfile create command tests", func() {
Context("Enabling experimental preference should show a disclaimer", func() {
It("checks that the experimental warning appears for create", func() {
- helper.CmdShouldPass("odo", "preference", "set", "Experimental", "true")
helper.CopyExample(filepath.Join("source", "nodejs"), context)
// Check that it will contain the experimental mode output
@@ -137,7 +136,6 @@ var _ = Describe("odo devfile create command tests", func() {
Context("When executing odo create with devfile component and --downloadSource flag", func() {
It("should succesfully create the compoment and download the source", func() {
- helper.CmdShouldPass("odo", "preference", "set", "Experimental", "true")
contextDevfile := helper.CreateNewContext()
helper.Chdir(contextDevfile)
devfile := "devfile.yaml"
@@ -159,7 +157,6 @@ var _ = Describe("odo devfile create command tests", func() {
Context("When executing odo create with devfile component and --downloadSource flag with a valid project", func() {
It("should succesfully create the compoment specified and download the source", func() {
- helper.CmdShouldPass("odo", "preference", "set", "Experimental", "true")
contextDevfile := helper.CreateNewContext()
helper.Chdir(contextDevfile)
devfile := "devfile.yaml"
@@ -192,7 +189,6 @@ var _ = Describe("odo devfile create command tests", func() {
// Once this feature is added we can change these tests.
//Context("When executing odo create with devfile component and --downloadSource flag with github type", func() {
// It("should succesfully create the compoment and download the source", func() {
- // helper.CmdShouldPass("odo", "preference", "set", "Experimental", "true")
// contextDevfile := helper.CreateNewContext()
// helper.Chdir(contextDevfile)
// devfile := "devfile.yaml"
@@ -211,7 +207,6 @@ var _ = Describe("odo devfile create command tests", func() {
//Context("When executing odo create with devfile component and --downloadSource flag with zip type", func() {
// It("should create the compoment and download the source", func() {
- // helper.CmdShouldPass("odo", "preference", "set", "Experimental", "true")
// contextDevfile := helper.CreateNewContext()
// helper.Chdir(contextDevfile)
// devfile := "devfile.yaml"
@@ -233,7 +228,6 @@ var _ = Describe("odo devfile create command tests", func() {
// Context("When executing odo create with devfile component, --downloadSource flag and sparseContextDir has a valid value", func() {
// It("should only extract the specified path in the sparseContextDir field", func() {
- // helper.CmdShouldPass("odo", "preference", "set", "Experimental", "true")
// contextDevfile := helper.CreateNewContext()
// helper.Chdir(contextDevfile)
// devfile := "devfile.yaml"
@@ -248,7 +242,6 @@ var _ = Describe("odo devfile create command tests", func() {
// Context("When executing odo create with devfile component, --downloadSource flag and sparseContextDir has an invalid value", func() {
// It("should fail and alert the user that the specified path in sparseContextDir does not exist", func() {
- // helper.CmdShouldPass("odo", "preference", "set", "Experimental", "true")
// contextDevfile := helper.CreateNewContext()
// helper.Chdir(contextDevfile)
// devfile := "devfile.yaml"
