Skip to content

Commit 3b98da9

Browse files
committed
fixup
1 parent b5c747b commit 3b98da9

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

rabbitmq_amqp/amqp_binding_test.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,7 @@ var _ = Describe("AMQP Bindings test ", func() {
4141
Expect(queueInfo).NotTo(BeNil())
4242
Expect(queueInfo.GetName()).To(Equal(queueName))
4343

44-
bindingSpec := management.Binding().SourceExchange(exchangeName).
45-
DestinationQueue(queueName).
46-
Key("routing-key")
44+
bindingSpec := management.Binding().SourceExchange(exchangeSpec).DestinationQueue(queueSpec).Key("routing-key")
4745
err = bindingSpec.Bind(context.TODO())
4846
Expect(err).To(BeNil())
4947
err = bindingSpec.Unbind(context.TODO())

0 commit comments

Comments
 (0)