Skip to content

Commit

Permalink
update tests to test telemetry flags
Browse files Browse the repository at this point in the history
  • Loading branch information
kadel committed Sep 28, 2022
1 parent 7086742 commit 01952d1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/integration/cmd_devfile_deploy_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,8 @@ ComponentSettings:
Expect(td.Properties.CmdProperties[segment.ComponentType]).To(ContainSubstring("nodejs"))
Expect(td.Properties.CmdProperties[segment.Language]).To(ContainSubstring("javascript"))
Expect(td.Properties.CmdProperties[segment.ProjectType]).To(ContainSubstring("nodejs"))
Expect(td.Properties.CmdProperties[segment.Flags]).To(BeEmpty())

})
})

Expand Down
2 changes: 2 additions & 0 deletions tests/integration/cmd_devfile_init_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,8 @@ var _ = Describe("odo devfile init command tests", func() {
Expect(td.Properties.CmdProperties[segment.ComponentType]).To(ContainSubstring("Go"))
Expect(td.Properties.CmdProperties[segment.Language]).To(ContainSubstring("Go"))
Expect(td.Properties.CmdProperties[segment.ProjectType]).To(ContainSubstring("Go"))
Expect(td.Properties.CmdProperties[segment.Flags]).To(ContainSubstring("devfile name"))

})
})
})

0 comments on commit 01952d1

Please sign in to comment.