Permalink
Browse files

Fix UT.

  • Loading branch information...
1 parent 11a7762 commit 689693de47d80defa960a325d416d0d0fb236278 Andre Rodrigues committed Oct 13, 2012
Showing with 7 additions and 2 deletions.
  1. +6 −1 lib/services/core/storageservicesettings.js
  2. +1 −1 test/azure-tests.js
@@ -74,7 +74,12 @@ function StorageServiceSettings(name, key, blobEndpointUri, queueEndpointUri, ta
this._blobEndpointUri = blobEndpointUri;
this._queueEndpointUri = queueEndpointUri;
this._tableEndpointUri = tableEndpointUri;
- this._usePathStyleUri = usePathStyleUri;
+
+ if (usePathStyleUri) {
+ this._usePathStyleUri = usePathStyleUri;
+ } else {
+ this._usePathStyleUri = false;
+ }
}
/**
View
@@ -247,7 +247,7 @@ test('MissingServiceBusIssuerAndWrapNamespace', function (done) {
var serviceBusService = azure.createServiceBusService();
// set correctly
- assert.equal(serviceBusService.authenticationProvider.acsHost, environmentServiceBusNamespace + ServiceClient.DEFAULT_WRAP_NAMESPACE_SUFFIX);
+ assert.equal(serviceBusService.authenticationProvider.acsHost, 'https://' + environmentServiceBusNamespace + ServiceClient.DEFAULT_WRAP_NAMESPACE_SUFFIX + '.accesscontrol.windows.net:443');
assert.equal(serviceBusService.authenticationProvider.accessKey, environmentServiceBusAccessKey);
// defaulted correctly

0 comments on commit 689693d

Please sign in to comment.