Skip to content

Commit

Permalink
fix(test): wrong variables used from config
Browse files Browse the repository at this point in the history
  • Loading branch information
mbroadst committed Dec 10, 2015
1 parent 91881ac commit 31e90e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/link-cache.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ describe('LinkCache', function() {
{ description: 'receiver links', method: 'createReceiver' }
].forEach(function(testCase) {
it('should return cached ' + testCase.description, function() {
return test.client.connect('amqp://' + config.amqpServer)
return test.client.connect(config.address)
.then(function() {
return Promise.all([
test.cache[testCase.method]('amq.topic'),
Expand All @@ -43,7 +43,7 @@ describe('LinkCache', function() {
});

it('should return different ' + testCase.description + ' based on address/options', function() {
return test.client.connect('amqp://' + config.amqpServer)
return test.client.connect(config.address)
.then(function() {
return Promise.all([
test.cache[testCase.method]('amq.topic'),
Expand Down

0 comments on commit 31e90e2

Please sign in to comment.