fabric-samples/chaincode/abac/go
Yuki Kondo b0cda61eaf [FAB-13769] Add UT code to ABAC sample Chaincode
This CR adds unit test code to the ABAC sample Chaincode to show
how to use MockStub for Chaincode that uses the `cid` package.
To test the access control in Chaincode method, Creator field in
MockStub is set by reading mspID and certificate with attributes.

FAB-13769 #done

Change-Id: Iddc5ea105b25afcc18b8ff54cf359d2b9406e829
Signed-off-by: Yuki Kondo <yuki.kondo@hal.hitachi.com>
2019-01-18 21:20:48 +00:00
..
vendor [FAB-12371]Fix the abac sample to use new cid package 2018-10-30 20:05:57 +00:00
abac.go [FAB-12371]Fix the abac sample to use new cid package 2018-10-30 20:05:57 +00:00
abac_test.go [FAB-13769] Add UT code to ABAC sample Chaincode 2019-01-18 21:20:48 +00:00