mirror of
https://github.com/strukturag/nextcloud-spreed-signaling
synced 2024-05-05 23:33:10 +02:00
Remove unnecessary assignment to "err".
This commit is contained in:
parent
efc232fb9c
commit
5964a98218
|
@ -1183,8 +1183,7 @@ func TestBackendServer_ParticipantsUpdateTimeout(t *testing.T) {
|
|||
ctx2, cancel2 := context.WithTimeout(context.Background(), time.Second+100*time.Millisecond)
|
||||
defer cancel2()
|
||||
|
||||
msg1_c, err := client1.RunUntilMessage(ctx2)
|
||||
if msg1_c != nil {
|
||||
if msg1_c, _ := client1.RunUntilMessage(ctx2); msg1_c != nil {
|
||||
if in_call_2, err := checkMessageParticipantsInCall(msg1_c); err != nil {
|
||||
t.Error(err)
|
||||
} else if len(in_call_2.Users) != 2 {
|
||||
|
@ -1194,8 +1193,7 @@ func TestBackendServer_ParticipantsUpdateTimeout(t *testing.T) {
|
|||
|
||||
ctx3, cancel3 := context.WithTimeout(context.Background(), time.Second+100*time.Millisecond)
|
||||
defer cancel3()
|
||||
msg2_c, err := client2.RunUntilMessage(ctx3)
|
||||
if msg2_c != nil {
|
||||
if msg2_c, _ := client2.RunUntilMessage(ctx3); msg2_c != nil {
|
||||
if in_call_2, err := checkMessageParticipantsInCall(msg2_c); err != nil {
|
||||
t.Error(err)
|
||||
} else if len(in_call_2.Users) != 2 {
|
||||
|
|
Loading…
Reference in a new issue