(t *testing.T)
| 18 | } |
| 19 | |
| 20 | func TestGetAppUnknownFormat(t *testing.T) { |
| 21 | cmd := test.GetRootCmdWithSubCommands(NewCmds()...) |
| 22 | cmd.SetArgs([]string{"get-app", "--output-format", "unknown"}) |
| 23 | _, err := cmd.ExecuteC() |
| 24 | require.Error(t, err) |
| 25 | require.NotContains(t, cmd.OutOrStdout().(*bytes.Buffer).String(), "organization") |
| 26 | } |
| 27 | |
| 28 | func TestUpdateApp(t *testing.T) { |
| 29 | cmd := test.GetRootCmdWithSubCommands(NewCmds()...) |
nothing calls this directly
no test coverage detected