(t *testing.T, s Server)
| 116 | } |
| 117 | |
| 118 | func TestLiveRecordingStop(t *testing.T, s Server) { |
| 119 | key := ari.NewKey(ari.LiveRecordingKey, "lr1") |
| 120 | |
| 121 | runTest("ok", t, s, func(t *testing.T, m *mock, cl ari.Client) { |
| 122 | testLiveRecordingCommand(t, m, "Stop", key, nil, cl.LiveRecording().Stop) |
| 123 | }) |
| 124 | runTest("err", t, s, func(t *testing.T, m *mock, cl ari.Client) { |
| 125 | testLiveRecordingCommand(t, m, "Stop", key, errors.New("err"), cl.LiveRecording().Stop) |
| 126 | }) |
| 127 | } |
| 128 | |
| 129 | func TestLiveRecordingUnmute(t *testing.T, s Server) { |
| 130 | key := ari.NewKey(ari.LiveRecordingKey, "lr1") |
no test coverage detected