Skip to content

Commit 7f5f727

Browse files
committed
Fix node-sdk-unit-tests target
Change 899 introduced a new unit test for the node sdk which causes the node sdk unit tests to fail. The fix was to change the chaincodeID from mycc3 to mycc4 for the new test. This amends FAB-285 Fixes FAB-285 Change-Id: I8bdfec16f7e46727995cb755c9e51a5e27658de0 Signed-off-by: Gari Singh <[email protected]>
1 parent 491eb19 commit 7f5f727

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

sdk/node/bin/run-unit-tests.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ runAssetMgmtWithRolesTests() {
217217

218218
runAssetMgmtWithDynamicRolesTests() {
219219
echo "BEGIN running asset management with dynamic roles tests ..."
220-
preExample asset_management_with_roles mycc3
220+
preExample asset_management_with_roles mycc4
221221
node $UNITTEST/asset-mgmt-with-dynamic-roles.js
222222
if [ $? -ne 0 ]; then
223223
echo "ERROR running asset management with dynamic roles tests!"

sdk/node/test/unit/asset-mgmt-with-dynamic-roles.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ var util = require('util');
2828
var crypto = require('../../lib/crypto');
2929

3030
var chain, chaincodeID;
31-
var chaincodeName = "mycc3";
31+
var chaincodeName = "mycc4";
3232
var deployer, alice, bob, assigner;
3333
var aliceAccount = "12345-56789";
3434
var bobAccount = "23456-67890";

0 commit comments

Comments
 (0)