Skip to content

Commit

Permalink
Fix ICEAgent module in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mickel8 committed Apr 15, 2024
1 parent f5c135f commit d81b178
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/priv/ice_agent_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ defmodule ExICE.Priv.ICEAgentTest do

test "with correct remote candidate", %{ice_agent: ice_agent} do
remote_cand = ExICE.Candidate.new(:host, address: {192, 168, 0, 2}, port: 8445)
ice_agent = ICEAgent.Impl.set_remote_credentials(ice_agent, "remoteufrag", "remotepwd")
ice_agent = ICEAgent.set_remote_credentials(ice_agent, "remoteufrag", "remotepwd")
ice_agent = ICEAgent.add_remote_candidate(ice_agent, ExICE.Candidate.marshal(remote_cand))

assert [%ExICE.Candidate{} = r_cand] = Map.values(ice_agent.remote_cands)
Expand Down

0 comments on commit d81b178

Please sign in to comment.