Skip to content

Commit cba89c9

Browse files
committed
Remove unused delegate in consume test
1 parent 4af7bf2 commit cba89c9

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

RMQClientTests/ConsumeTest.swift

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,10 @@ import XCTest
5454
class ConsumeTest: XCTestCase {
5555

5656
func testBasicConsumeSendsBasicConsumeMethod() {
57-
let delegate = ConnectionDelegateSpy()
5857
let dispatcher = DispatcherSpy()
5958
let nameGenerator = StubNameGenerator()
6059
let ch = ChannelHelper.makeChannel(1, dispatcher: dispatcher, nameGenerator: nameGenerator)
6160

62-
ch.activateWithDelegate(delegate)
63-
6461
nameGenerator.nextName = "a tag"
6562
ch.basicConsume("foo", options: [.Exclusive]) { _ in }
6663

0 commit comments

Comments
 (0)