Skip to content

Commit 687b785

Browse files
committed
[ETCM-841] Align unit test with changes in protocol
1 parent b395772 commit 687b785

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/scala/io/iohk/ethereum/network/rlpx/RLPxConnectionHandlerSpec.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,10 +229,10 @@ class RLPxConnectionHandlerSpec
229229
.expects(data)
230230
.returning((response, AuthHandshakeSuccess(mock[Secrets], ByteString())))
231231
(mockHelloExtractor.readHello _)
232-
.expects(hello)
232+
.expects(ByteString.empty)
233233
.returning(Some(Hello(5, "", Capabilities.Eth63Capability::Nil, 30303, ByteString("abc")), Seq.empty))
234234
(mockMessageCodec.readMessages _)
235-
.expects(ByteString.empty)
235+
.expects(hello)
236236
.returning(Nil) //For processing of messages after handshaking finishes
237237

238238
rlpxConnection ! Tcp.Received(data)

0 commit comments

Comments
 (0)