From b646cc58abc7072749b22b99f21c49e0eec83899 Mon Sep 17 00:00:00 2001 From: Allan Nava Date: Thu, 13 Jun 2024 12:58:26 +0200 Subject: [PATCH] added restreamer test go --- test/api_restreamer_test.go | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/test/api_restreamer_test.go b/test/api_restreamer_test.go index fcd091e..ec30606 100644 --- a/test/api_restreamer_test.go +++ b/test/api_restreamer_test.go @@ -13,7 +13,7 @@ func TestGetRestreamers(t *testing.T) { t.Fatalf(err.Error()) } // need to be finish - restreamers, err := c.GetRestreamers() + restreamers, err := c.GetRestreamers(0, 10) if err != nil { t.Fatalf(err.Error()) } @@ -28,3 +28,20 @@ func TestGetRestreamers(t *testing.T) { } + +/* +*/ +func TestGetRestreamersOttAll(t *testing.T) { + // + c, err := GetCompress() + if err != nil { + t.Fatalf(err.Error()) + } + // need to be finish + restreamers, err := c.GetRestreamersOttAll(0, 100) + if err != nil { + t.Fatalf(err.Error()) + } + // +} +