fixed tests

This commit is contained in:
David Zhao
2021-03-27 21:59:00 -07:00
parent dfac44d59e
commit ef00a4d33c
+2 -2
View File
@@ -143,7 +143,7 @@ func TestParticipantUpdate(t *testing.T) {
}{ }{
{ {
"track mutes are sent to everyone", "track mutes are sent to everyone",
false, true,
func(p types.Participant) { func(p types.Participant) {
p.SetTrackMuted("", true) p.SetTrackMuted("", true)
}, },
@@ -157,7 +157,7 @@ func TestParticipantUpdate(t *testing.T) {
}, },
{ {
"track publishes are sent to existing participants", "track publishes are sent to existing participants",
false, true,
func(p types.Participant) { func(p types.Participant) {
p.AddTrack("", "", livekit.TrackType_VIDEO) p.AddTrack("", "", livekit.TrackType_VIDEO)
}, },