mirror of
https://github.com/go-mqtt/mqtt.git
synced 2025-08-07 11:42:52 +03:00
Add mqtttest NewReadSlicesStub.
This commit is contained in:
@@ -26,6 +26,7 @@ func TestSignatureMatch(t *testing.T) {
|
||||
publishEnqueued = c.PublishExactlyOnce
|
||||
|
||||
// check fits
|
||||
readSlices = mqtttest.NewReadSlicesStub(mqtttest.Transfer{})
|
||||
readSlices = mqtttest.NewReadSlicesMock(t)
|
||||
publish = mqtttest.NewPublishMock(t)
|
||||
publish = mqtttest.NewPublishStub(nil)
|
||||
|
Reference in New Issue
Block a user