Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Uncommenting UT.

  • Loading branch information...
commit 292da4768bd1a3c1f6d2b87521316b46ba608e99 1 parent 7025347
@andrerod andrerod authored
Showing with 5 additions and 2 deletions.
  1. +5 −2 test/services/serviceBus/servicebusservice-tests.js
View
7 test/services/serviceBus/servicebusservice-tests.js
@@ -60,7 +60,7 @@ suite('servicebusservice-tests', function () {
teardown(function (done) {
servicebustestutil.tearDownTest(numberTests, serviceBusService, testPrefix, done);
});
-/*
+
test('CreateQueue', function (done) {
var queueName = testutil.generateId(queueNamesPrefix, queueNames);
var queueOptions = {
@@ -1606,13 +1606,16 @@ suite('servicebusservice-tests', function () {
});
});
});
-*/
+
test('connectionStrings', function (done) {
var key = 'AhlzsbLRkjfwObuqff3xrhB2yWJNh1EMptmcmxFJ6fvPTVX3PZXwrG2YtYWf5DPMVgNsteKStM5iBLlknYFVoA==';
var connectionString = 'Endpoint=http://ablal-martvue.servicebus.windows.net/;StsEndpoint=https://ablal-martvue-sb.accesscontrol.windows.net;SharedSecretIssuer=owner;SharedSecretValue=' + key;
var serviceBusService = azure.createServiceBusService(connectionString);
assert.equal(serviceBusService.host, 'ablal-martvue.servicebus.windows.net');
+ assert.equal(serviceBusService.authenticationProvider.issuer, 'owner');
+ assert.equal(serviceBusService.authenticationProvider.accessKey, 'value');
+ assert.equal(serviceBusService.authenticationProvider.acsHost, 'ablal-martvue-sb.accesscontrol.windows.net');
done();
});
Please sign in to comment.
Something went wrong with that request. Please try again.