diff --git a/src/test/apptask-test.js b/src/test/apptask-test.js index e5b0dd1ce..e2ab0c094 100644 --- a/src/test/apptask-test.js +++ b/src/test/apptask-test.js @@ -220,7 +220,7 @@ describe('apptask', function () { it('unregisters subdomain', function (done) { nock.cleanAll(); - var awsScope = nock(config.aws().endpoint) + var awsScope = nock('http://localhost:5353') .get('/2013-04-01/hostedzone') .reply(200, js2xml('ListHostedZonesResponse', awsHostedZones, { arrayMap: { HostedZones: 'HostedZone'} })) .post('/2013-04-01/hostedzone/ZONEID/rrset/')