(t *testing.T)
| 144 | } |
| 145 | |
| 146 | func Test_transferRun_noflags(t *testing.T) { |
| 147 | http := &httpmock.Registry{} |
| 148 | defer http.Verify(t) |
| 149 | |
| 150 | output, err := runCommand(http, "") |
| 151 | |
| 152 | if err != nil { |
| 153 | assert.Equal(t, "issue and destination repository are required", err.Error()) |
| 154 | } |
| 155 | |
| 156 | assert.Equal(t, "", output.String()) |
| 157 | } |
| 158 | |
| 159 | func Test_transferRunSuccessfulIssueTransfer(t *testing.T) { |
| 160 | http := &httpmock.Registry{} |
nothing calls this directly
no test coverage detected