Skip to content

Commit

Permalink
NodeSDK - update test cases for new chain name
Browse files Browse the repository at this point in the history
The default chain name has changed and test must
be updated

Change-Id: I512caeef4d66b48b9aa89ef23dfa6f0fceedfd55
Signed-off-by: Bret Harrison <[email protected]>
  • Loading branch information
harrisob committed Jan 20, 2017
1 parent bcddb7f commit d9fc906
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions test/unit/end-to-end.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ var client = new hfc();
var chain = client.newChain('testChain-e2e');

var webUser = null;
var chaincode_id = 'mycc';
var chain_id = '**TEST_CHAINID**';
var chaincode_id = 'end2end';
var chain_id = 'test_chainid';
var tx_id = null;
var nonce = null;
var peer0 = new Peer('grpc://localhost:7051'),
Expand Down
4 changes: 2 additions & 2 deletions test/unit/endorser-tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ test('\n\n** TEST ** endorse chaincode deployment good test', function(t) {
// send proposal to endorser
var request = {
chaincodePath: testUtil.CHAINCODE_PATH,
chaincodeId: 'mycc',
chaincodeId: 'endorser_test',
fcn: 'init',
args: ['a', '100', 'b', '200'],
chainId: '**TEST_CHAINID**',
chainId: 'test_chainid',
txId: 'blah',
nonce: utils.getNonce()
};
Expand Down

0 comments on commit d9fc906

Please sign in to comment.