GSMA-CPAS / BWRP-chaincode

Apache License 2.0
1 stars 0 forks source link

add test cases for "CanSignDocument" extended attribute #51

Closed sschulz-t closed 3 years ago

sschulz-t commented 3 years ago

This PR adds a test case for checking that the used cert has the CanSignDocument flag set.

fixes #49: -add chaincode tests to check for this flag.- -add tests for misspelled/missing attribute names (this should fail!)-

sschulz-t commented 3 years ago

see https://github.com/GSMA-CPAS/BWRP-blockchain-adapter/pull/46 for a similar test case in blockchainadapter

sschulz-t commented 3 years ago

Very good spot! This is exactly why i really like doing PRs this way! Thanks! I added the parameter and documented it in the organizations.go file. Please have a look again.