Skip to content

Commit

Permalink
Update test
Browse files Browse the repository at this point in the history
  • Loading branch information
amitkrout committed Aug 6, 2019
1 parent 2612009 commit 1b7a3e6
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions tests/integration/generic_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,25 @@ var _ = Describe("odo generic", func() {
})
})

// Uncomment once https://github.com/openshift/odo/issues/1708 is fixed
// Context("odo machine readable output on empty project", func() {
// JustBeforeEach(func() {
// project = helper.CreateRandProject()
// context = helper.CreateNewContext()
// os.Setenv("GLOBALODOCONFIG", filepath.Join(context, "config.yaml"))
// })
// JustAfterEach(func() {
// helper.DeleteProject(project)
// helper.DeleteDir(context)
// os.Unsetenv("GLOBALODOCONFIG")
// })
// It("should be able to return project list", func() {
// actualProjectListJSON := helper.CmdShouldPass("odo", "project", "list", "-o", "json")
// partOfProjectListJSON := fmt.Sprintf(`{"kind":"Project","apiVersion":"odo.openshift.io/v1alpha1","metadata":{"name":"%s","creationTimestamp":null},`, project)
// Expect(actualProjectListJSON).To(ContainSubstring(partOfProjectListJSON))
// })
// })

Context("creating component with an application and url", func() {
JustBeforeEach(func() {
project = helper.CreateRandProject()
Expand Down

0 comments on commit 1b7a3e6

Please sign in to comment.