Skip to content

Commit

Permalink
added restreamer test go
Browse files Browse the repository at this point in the history
  • Loading branch information
Allan-Nava authored Jun 13, 2024
1 parent bc5895f commit b646cc5
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion test/api_restreamer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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())
}
Expand All @@ -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)

Check failure on line 41 in test/api_restreamer_test.go

View workflow job for this annotation

GitHub Actions / build (1.18.x)

restreamers declared but not used

Check failure on line 41 in test/api_restreamer_test.go

View workflow job for this annotation

GitHub Actions / build (1.19.x)

restreamers declared but not used

Check failure on line 41 in test/api_restreamer_test.go

View workflow job for this annotation

GitHub Actions / build (1.20.x)

restreamers declared and not used

Check failure on line 41 in test/api_restreamer_test.go

View workflow job for this annotation

GitHub Actions / build (1.21.x)

restreamers declared and not used
if err != nil {
t.Fatalf(err.Error())
}
//
}

0 comments on commit b646cc5

Please sign in to comment.