(t *testing.T)
| 19 | ) |
| 20 | |
| 21 | func TestJSONFields(t *testing.T) { |
| 22 | jsonfieldstest.ExpectCommandToSupportJSONFields(t, NewCmdView, []string{ |
| 23 | "id", |
| 24 | "resourceUrl", |
| 25 | "eventTypes", |
| 26 | "createdAt", |
| 27 | "expiresAt", |
| 28 | "url", |
| 29 | "eventsUrl", |
| 30 | }) |
| 31 | } |
| 32 | |
| 33 | func TestNewCmdView(t *testing.T) { |
| 34 | tests := []struct { |
nothing calls this directly
no test coverage detected