mirror of
https://github.com/moparisthebest/mail
synced 2024-11-25 18:32:20 -05:00
comment out integration tests
This commit is contained in:
parent
36802d8dba
commit
4663969038
@ -50,8 +50,9 @@ module.exports = function(grunt) {
|
||||
all: {
|
||||
options: {
|
||||
timeout: 20000,
|
||||
urls: ['http://localhost:<%= connect.test.options.port %>/test/unit/index.html',
|
||||
'http://localhost:<%= connect.test.options.port %>/test/integration/index.html'
|
||||
urls: ['http://localhost:<%= connect.test.options.port %>/test/unit/index.html'
|
||||
/*,
|
||||
'http://localhost:<%= connect.test.options.port %>/test/integration/index.html'*/
|
||||
]
|
||||
}
|
||||
}
|
||||
|
@ -199,8 +199,7 @@ var _initSocket = function(client, socket, tlsOptions) {
|
||||
}
|
||||
else {
|
||||
var out = request.toString();
|
||||
if(request.body)
|
||||
{
|
||||
if(request.body) {
|
||||
out += request.body;
|
||||
}
|
||||
request.time = +new Date();
|
||||
@ -1200,6 +1199,9 @@ http.createResponse = function() {
|
||||
response.readBody = function(b) {
|
||||
var contentLength = response.getField('Content-Length');
|
||||
var transferEncoding = response.getField('Transfer-Encoding');
|
||||
if(contentLength !== null) {
|
||||
contentLength = parseInt(contentLength);
|
||||
}
|
||||
|
||||
// read specified length
|
||||
if(contentLength !== null && contentLength >= 0) {
|
||||
|
@ -515,6 +515,8 @@ p7.createEnvelopedData = function() {
|
||||
return r;
|
||||
}
|
||||
}
|
||||
|
||||
return null;
|
||||
},
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user