UT: Clean up output.

This commit is contained in:
Arthur Britto
2013-01-25 16:05:02 -08:00
parent c12399a44e
commit 1bc5fa3e41
2 changed files with 12 additions and 14 deletions

View File

@@ -320,17 +320,17 @@ buster.testCase("Offer tests", {
}) })
.submit(); .submit();
}, },
function (callback) { // function (callback) {
self.what = "Display ledger"; // self.what = "Display ledger";
//
self.remote.request_ledger('current', true) // self.remote.request_ledger('current', true)
.on('success', function (m) { // .on('success', function (m) {
console.log("Ledger: %s", JSON.stringify(m, undefined, 2)); // console.log("Ledger: %s", JSON.stringify(m, undefined, 2));
//
callback(); // callback();
}) // })
.request(); // .request();
}, // },
function (callback) { function (callback) {
self.what = "Create crossing offer."; self.what = "Create crossing offer.";

View File

@@ -8,10 +8,8 @@ var Server = require("./server.js").Server;
var alpha; var alpha;
buster.testCase("Standalone server startup", { buster.testCase("Standalone server startup", {
"server start and stop" : function (done) { "server start and stop" : function (done) {
alpha = Server.from_config("alpha",true); //ADD ,true for verbosity alpha = Server.from_config("alpha", false); //ADD ,true for verbosity
alpha alpha
.on('started', function () { .on('started', function () {