Skip to content

Commit

Permalink
Fix test compile error
Browse files Browse the repository at this point in the history
CreateAllocation arguments changed
  • Loading branch information
Sean-Der committed Jul 11, 2019
1 parent bb3bfbf commit f0df9a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/allocation/allocation_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ func subTestPacketHandler(t *testing.T) {
a, err := m.CreateAllocation(&FiveTuple{
SrcAddr: clientListener.LocalAddr(),
DstAddr: turnSocket.LocalAddr(),
}, turnSocket, 0, turn.DefaultLifetime)
}, turnSocket, net.ParseIP("127.0.0.1"), 0, turn.DefaultLifetime)

assert.Nil(t, err, "should succeed")

Expand Down

0 comments on commit f0df9a6

Please sign in to comment.