fix broken unit test in ackhandler

This commit is contained in:
Marten Seemann 2020-05-29 17:20:47 +07:00
parent fefed78973
commit 99dac1581a

View file

@ -137,6 +137,7 @@ var _ = Describe("Received Packet Handler", func() {
It("says if packets are duplicates", func() {
sendTime := time.Now()
sentPackets.EXPECT().ReceivedPacket(gomock.Any()).AnyTimes()
sentPackets.EXPECT().GetLowestPacketNotConfirmedAcked().AnyTimes()
// Initial
Expect(handler.IsPotentiallyDuplicate(3, protocol.EncryptionInitial)).To(BeFalse())