Skip to content

Commit

Permalink
Update default test_chainid to testchainid
Browse files Browse the repository at this point in the history
[FAB-1922] due to https://gerrit.hyperledger.org/r/#/c/4931/
the default test chain id has been updated.

This updates the test cases in node.js SDK

Change-Id: Ie5b16993b7e700c5be9e2e4f95691f47aa82e3db
Signed-off-by: Jim Zhang <[email protected]>
  • Loading branch information
jimthematrix committed Jan 29, 2017
1 parent caf64fe commit 1f9d5e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/unit/end-to-end.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ var chain = client.newChain('testChain-e2e');

var webUser = null;
var chaincode_id = 'end2end';
var chain_id = 'test_chainid';
var chain_id = 'testchainid';
var tx_id = null;
var nonce = null;
var peer0 = new Peer('grpc://localhost:7051'),
Expand Down
2 changes: 1 addition & 1 deletion test/unit/endorser-tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ test('\n\n** TEST ** endorse chaincode deployment good test', function(t) {
chaincodeId: 'endorser_test',
fcn: 'init',
args: ['a', '100', 'b', '200'],
chainId: 'test_chainid',
chainId: 'testchainid',
txId: 'blah',
nonce: utils.getNonce()
};
Expand Down

0 comments on commit 1f9d5e4

Please sign in to comment.