Skip to content

Commit

Permalink
fix test suite
Browse files Browse the repository at this point in the history
  • Loading branch information
mawdegroot committed Nov 8, 2023
1 parent 0c8fe15 commit 607351f
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions test/hpr_protocol_gwmp_SUITE.erl
Original file line number Diff line number Diff line change
Expand Up @@ -739,14 +739,11 @@ verify_push_data(PacketUp, PushDataBinary) ->
),
<<"gateway_name">> => erlang:list_to_binary(
hpr_utils:gateway_name(PubKeyBin)
)
),
<<"regi">> => erlang:atom_to_binary(
hpr_packet_up:region(PacketUp))
}
}
],
<<"stat">> =>
#{
<<"pubk">> => erlang:list_to_binary(libp2p_crypto:bin_to_b58(PubKeyBin)),
<<"regi">> => erlang:atom_to_binary(hpr_packet_up:region(PacketUp))
}
]
},
?assert(test_utils:match_map(MapFromPacketUp, JsonData)).

0 comments on commit 607351f

Please sign in to comment.