Skip to content

Commit 81b3f9f

Browse files
committed
fix bugs in tests caught by dialyzer
these didn't actually cause anything to break
1 parent cf86b97 commit 81b3f9f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/rabbit_tests.erl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ test_content_framing(FrameMax, Fragments) ->
359359
[Header | Frames] =
360360
rabbit_binary_generator:build_simple_content_frames(
361361
1,
362-
#content{class_id = 0, properties_bin = <<>>,
362+
#content{class_id = 60, properties = none, properties_bin = <<>>,
363363
payload_fragments_rev = Fragments},
364364
FrameMax),
365365
%% header is formatted correctly and the size is the total of the
@@ -953,7 +953,7 @@ test_memory_pressure() ->
953953
ok = test_memory_pressure_receive_flow(true),
954954

955955
%% if we publish at this point, the channel should die
956-
Content = rabbit_basic:build_content([], <<>>),
956+
Content = rabbit_basic:build_content(#'P_basic'{}, <<>>),
957957
ok = rabbit_channel:do(Ch0, #'basic.publish'{}, Content),
958958
expect_normal_channel_termination(MRef0, Ch0),
959959

0 commit comments

Comments
 (0)