Skip to content
Snippets Groups Projects
Commit 724cdbc6 authored by roadscape's avatar roadscape
Browse files

disable testnet hf tests

parent a4588f95
No related branches found
No related tags found
No related merge requests found
......@@ -29,9 +29,7 @@ describe('steem.hf20-accounts:', () => {
}
steem.api.callAsync('condenser_api.get_version', []).then((result) => {
if(result['blockchain_version'] < '0.21.0') return done(); /* SKIP AS THIS WILL ONLY PASS ON A TESTNET CURRENTLY */
result.should.have.property('blockchain_version');
//result.should.have.property('blockchain_version', '0.22.0')
if(result['blockchain_version'] < '0.22.0') return done(); /* SKIP AS THIS WILL ONLY PASS ON A TESTNET CURRENTLY */
steem.broadcast._prepareTransaction(tx).then(function(tx){
tx = steem.auth.signTransaction(tx, [activeWif]);
......@@ -48,9 +46,7 @@ describe('steem.hf20-accounts:', () => {
this.skip(); // (!) need test account with enough RC
steem.api.callAsync('condenser_api.get_version', []).then((result) => {
if(result['blockchain_version'] < '0.21.0') return done(); /* SKIP AS THIS WILL ONLY PASS ON A TESTNET CURRENTLY */
result.should.have.property('blockchain_version');
//result.should.have.property('blockchain_version', '0.22.0')
if(result['blockchain_version'] < '0.22.0') return done(); /* SKIP AS THIS WILL ONLY PASS ON A TESTNET CURRENTLY */
steem.broadcast.claimAccountAsync(activeWif, username, '0.000 TESTS', []).then((result) => {
let newAccountName = username + '-' + Math.floor(Math.random() * 10000);
......
......@@ -38,7 +38,7 @@ describe('steem.hf21-accounts:', () => {
}
steem.api.callAsync('condenser_api.get_version', []).then((result) => {
if(result['blockchain_version'] < '0.21.0') return done(); /* SKIP AS THIS WILL ONLY PASS ON A TESTNET CURRENTLY */
if(result['blockchain_version'] < '0.22.0') return done(); /* SKIP AS THIS WILL ONLY PASS ON A TESTNET CURRENTLY */
result.should.have.property('blockchain_version');
steem.broadcast._prepareTransaction(tx).then(function(tx){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment