X-Git-Url: http://git.squeep.com/?p=squeep-indie-auther;a=blobdiff_plain;f=test%2Fsrc%2Fmanager.js;fp=test%2Fsrc%2Fmanager.js;h=f3c38b4586c115088912039ab4be3efb151f9592;hp=7336e1fb7989ad716543ead8daed5017ce93bc44;hb=11160730c4e424bbb6f90b62a674cab522620192;hpb=8ed17e3fb2fe838398036aef5b2a9398fd608375 diff --git a/test/src/manager.js b/test/src/manager.js index 7336e1f..f3c38b4 100644 --- a/test/src/manager.js +++ b/test/src/manager.js @@ -49,7 +49,7 @@ describe('Manager', function () { sinon.stub(manager.communication, 'fetchProfile'); sinon.stub(manager.communication, 'fetchClientIdentifier'); sinon.stub(manager.communication, 'deliverTicket'); - sinon.stub(dns, 'lookupAsync').resolves([{ family: 4, address: '10.11.12.13' }]); + sinon.stub(dns.promises, 'lookup').resolves([{ family: 4, address: '10.11.12.13' }]); sinon.stub(manager.queuePublisher, 'connect'); sinon.stub(manager.queuePublisher, 'establishAMQPPlumbing'); sinon.stub(manager.queuePublisher, 'publish');