Skip to content

Commit

Permalink
add test
Browse files Browse the repository at this point in the history
  • Loading branch information
tukeJonny committed Nov 2, 2023
1 parent 7048256 commit 96e5fc8
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions bench/isupipe/client_livestream_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,16 @@ func TestLivestreamSearch(t *testing.T) {
assert.NoError(t, err)

user := scheduler.UserScheduler.GetRandomStreamer()
_, err = client.Register(ctx, &RegisterRequest{
Name: user.Name,
DisplayName: user.DisplayName,
Description: user.Description,
Password: user.RawPassword,
Theme: Theme{
DarkMode: user.DarkMode,
},
})

err = client.Login(ctx, &LoginRequest{
UserName: user.Name,
Password: user.RawPassword,
Expand Down

0 comments on commit 96e5fc8

Please sign in to comment.