dia
Advanced tools
Comparing version 0.0.2 to 0.0.3
@@ -202,3 +202,3 @@ // | ||
, timestamp: timestamp | ||
, email: 'user@example.com' | ||
, email: dia.manifest.id + '999' + '@example.com' | ||
, token: token | ||
@@ -222,3 +222,6 @@ , 'nav-data': '' | ||
// Follow the redirect URL and verify that a 200 is returned. | ||
var getUrl = response.request.uri.protocol + '//' + response.request.uri.host + response.headers.location; | ||
var getUrl = response.headers.location; | ||
if (getUrl.indexOf('http') < 0) { | ||
getUrl = response.request.uri.protocol + '//' + response.request.uri.host + response.headers.location; | ||
} | ||
@@ -437,3 +440,3 @@ request.get(getUrl, function(err, response) { | ||
var opts = { | ||
uri: dia.manifest.api.test.base_url + '/' + dia.id || 0 | ||
uri: dia.manifest.api.test.base_url + '/' + dia.id | ||
, method: 'DELETE' | ||
@@ -440,0 +443,0 @@ , auth: { |
{ | ||
"name": "dia", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "Modulus add-on test utility.", | ||
@@ -5,0 +5,0 @@ "scripts": { |
45437
1196