(t *testing.T, s Server)
| 149 | } |
| 150 | |
| 151 | func TestLiveRecordingScrap(t *testing.T, s Server) { |
| 152 | key := ari.NewKey(ari.LiveRecordingKey, "lr1") |
| 153 | |
| 154 | runTest("ok", t, s, func(t *testing.T, m *mock, cl ari.Client) { |
| 155 | testLiveRecordingCommand(t, m, "Scrap", key, nil, cl.LiveRecording().Scrap) |
| 156 | }) |
| 157 | runTest("err", t, s, func(t *testing.T, m *mock, cl ari.Client) { |
| 158 | testLiveRecordingCommand(t, m, "Scrap", key, errors.New("err"), cl.LiveRecording().Scrap) |
| 159 | }) |
| 160 | } |
no test coverage detected