diff --git a/test/send-test.js b/test/send-test.js index e414943dba..82dd52c5ba 100644 --- a/test/send-test.js +++ b/test/send-test.js @@ -749,7 +749,7 @@ buster.testCase("Gateway", { }); }, - "subscribe test: customer to customer with and without transfer fee: transaction retry logic" : + "=>subscribe test: customer to customer with and without transfer fee: transaction retry logic" : function (done) { var self = this; @@ -813,24 +813,24 @@ buster.testCase("Gateway", { }, callback); }, - function (callback) { - self.what = "Set transfer rate."; - - self.remote.transaction() - .account_set("mtgox") - .transfer_rate(1e9*1.1) - .once('proposed', function (m) { - // console.log("proposed: %s", JSON.stringify(m)); - callback(m.result !== 'tesSUCCESS'); - }) - .submit(); - }, +// function (callback) { +// self.what = "Set transfer rate."; +// +// self.remote.transaction() +// .account_set("mtgox") +// .transfer_rate(1e9*1.1) +// .once('proposed', function (m) { +// // console.log("proposed: %s", JSON.stringify(m)); +// callback(m.result !== 'tesSUCCESS'); +// }) +// .submit(); +// }, function (callback) { self.what = "Bob sends Alice 0.5 AUD"; self.remote.transaction() .payment("bob", "alice", "0.5/AUD/mtgox") - .send_max("0.55/AUD/mtgox") // !!! Very important. +// .send_max("0.55/AUD/mtgox") // !!! Very important. .on('proposed', function (m) { // console.log("proposed: %s", JSON.stringify(m)); @@ -844,8 +844,8 @@ buster.testCase("Gateway", { testutils.verify_balances(self.remote, { "alice" : "0.5/AUD/mtgox", - "bob" : "0.45/AUD/mtgox", - "mtgox" : [ "-0.5/AUD/alice","-0.45/AUD/bob" ], + "bob" : "0.5/AUD/mtgox", + "mtgox" : [ "-0.5/AUD/alice","-0.5/AUD/bob" ], }, callback); }, @@ -887,8 +887,8 @@ buster.testCase("Gateway", { testutils.verify_balances(self.remote, { "alice" : "0.5/AUD/mtgox", - "bob" : "0.45/AUD/mtgox", - "mtgox" : [ "-0.5/AUD/alice","-0.45/AUD/bob" ], + "bob" : "0.5/AUD/mtgox", + "mtgox" : [ "-0.5/AUD/alice","-0.5/AUD/bob" ], }, callback); },