(t *testing.T)
| 80 | } |
| 81 | |
| 82 | func Test_runUpdateCmd(t *testing.T) { |
| 83 | srv := newServer(t) |
| 84 | defer srv.Close() |
| 85 | |
| 86 | opts, out := newOpts(t, srv, true, "") |
| 87 | require.NoError(t, runUpdateCmd(opts)) |
| 88 | |
| 89 | got := out.String() |
| 90 | assert.Contains(t, got, "APP1") |
| 91 | assert.Contains(t, got, "Renamed App") |
| 92 | } |
| 93 | |
| 94 | func Test_runUpdateCmd_outputJSON(t *testing.T) { |
| 95 | srv := newServer(t) |
nothing calls this directly
no test coverage detected