Navigation Menu

Skip to content

Commit

Permalink
Don't specify host header
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Aug 15, 2012
1 parent 79083ab commit cac03c2
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions test/api-configuration.test.js
Expand Up @@ -477,16 +477,12 @@ suite('Configuration API', function() {
test('Get, Action=DeleteDomain', function(done) {
var domain;
utils
.get('/?DomainName=companies&Action=CreateDomain&Version=2011-02-01', {
'Host': utils.testConfigurationHost
})
.get('/?DomainName=companies&Action=CreateDomain&Version=2011-02-01')
.next(function() {
domain = new Domain('companies', context);
assert.isTrue(domain.exists());
})
.get('/?DomainName=companies&Action=DeleteDomain&Version=2011-02-01', {
'Host': utils.testConfigurationHost
})
.get('/?DomainName=companies&Action=DeleteDomain&Version=2011-02-01')
.next(function(response) {
assert.isFalse(domain.exists());

Expand Down

0 comments on commit cac03c2

Please sign in to comment.