Commit e3e7f044 authored by inso's avatar inso
Browse files

Fix tests

parent 4e836b4b
......@@ -70,7 +70,7 @@ function User (uid, options, node) {
issuer: pub,
currency: node.server.conf.currency
});
selfCert += crypto.signSync(selfCert, sec);
selfCert += crypto.signSync(selfCert, sec) + '\n';
post('/wot/add', {
"identity": selfCert
}, next);
......@@ -126,7 +126,7 @@ function User (uid, options, node) {
});
var sig = crypto.signSync(cert, sec);
post('/wot/certify', {
"cert": cert + sig
"cert": cert + sig + "\n"
}, next);
}
], function(err) {
......@@ -166,7 +166,7 @@ function User (uid, options, node) {
var sig = crypto.signSync(revocation, sec);
return Q.nfcall(post, '/wot/revoke', {
"revocation": revocation + sig
"revocation": revocation + sig + '\n'
});
});
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment