From 7f5f7278673a16767c11afe24f50d15194cbd455 Mon Sep 17 00:00:00 2001 From: Gari Singh Date: Mon, 12 Sep 2016 13:19:56 -0400 Subject: [PATCH] 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 --- sdk/node/bin/run-unit-tests.sh | 2 +- sdk/node/test/unit/asset-mgmt-with-dynamic-roles.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sdk/node/bin/run-unit-tests.sh b/sdk/node/bin/run-unit-tests.sh index 8721057988f..b309fda3b08 100755 --- a/sdk/node/bin/run-unit-tests.sh +++ b/sdk/node/bin/run-unit-tests.sh @@ -217,7 +217,7 @@ runAssetMgmtWithRolesTests() { runAssetMgmtWithDynamicRolesTests() { echo "BEGIN running asset management with dynamic roles tests ..." - preExample asset_management_with_roles mycc3 + preExample asset_management_with_roles mycc4 node $UNITTEST/asset-mgmt-with-dynamic-roles.js if [ $? -ne 0 ]; then echo "ERROR running asset management with dynamic roles tests!" diff --git a/sdk/node/test/unit/asset-mgmt-with-dynamic-roles.js b/sdk/node/test/unit/asset-mgmt-with-dynamic-roles.js index 0611cd8c98d..a6835505d66 100644 --- a/sdk/node/test/unit/asset-mgmt-with-dynamic-roles.js +++ b/sdk/node/test/unit/asset-mgmt-with-dynamic-roles.js @@ -28,7 +28,7 @@ var util = require('util'); var crypto = require('../../lib/crypto'); var chain, chaincodeID; -var chaincodeName = "mycc3"; +var chaincodeName = "mycc4"; var deployer, alice, bob, assigner; var aliceAccount = "12345-56789"; var bobAccount = "23456-67890";