From 584ad466793f8b72c4b208d435d965dff92c0978 Mon Sep 17 00:00:00 2001 From: Daniel Ponte Date: Mon, 18 Nov 2024 18:50:34 -0500 Subject: [PATCH] comment test --- pkg/sinks/relay_test.go | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/pkg/sinks/relay_test.go b/pkg/sinks/relay_test.go index 90cfda0..b99d03b 100644 --- a/pkg/sinks/relay_test.go +++ b/pkg/sinks/relay_test.go @@ -40,12 +40,13 @@ func TestRelay(t *testing.T) { name: "base", submitter: auth.UserID(1), call: calls.Call{ - ID: uuid.UUID([16]byte{0x52, 0xfd, 0xfc, 0x07, 0x21, 0x82, 0x45, 0x4f, 0x96, 0x3f, 0x5f, 0x0f, 0x9a, 0x62, 0x1d, 0x72}), - Submitter: common.PtrTo(auth.UserID(1)), - System: 197, - Talkgroup: 10101, - DateTime: time.Date(2024, 11, 10, 23, 33, 02, 0, time.Local), - AudioName: "rightnow.mp3", + ID: uuid.UUID([16]byte{0x52, 0xfd, 0xfc, 0x07, 0x21, 0x82, 0x45, 0x4f, 0x96, 0x3f, 0x5f, 0x0f, 0x9a, 0x62, 0x1d, 0x72}), + Submitter: common.PtrTo(auth.UserID(1)), + System: 197, + Talkgroup: 10101, + DateTime: time.Date(2024, 11, 10, 23, 33, 02, 0, time.Local), + AudioName: "smallest.mp3", + // the smallest MP3 there is Audio: []byte{0xFF, 0xF3, 0x14, 0xC4, 0x00, 0x00, 0x00, 0x03, 0x48, 0x01, 0x40, 0x00, 0x00, 0x4C, 0x41, 0x4D, 0x45, 0x33, 0x2E, 0x39, 0x36, 0x2E, 0x31, 0x55}, AudioType: "audio/mpeg", Duration: calls.CallDuration(24000000),