Documentation ¶
Index ¶
Constants ¶
View Source
const ( TEST_NETWORK_ID = "N12345" TEST_OPERATOR_ID = "bob" WRITE_TEST_NETWORK_ID = "N6789" TEST_SUPER_OPERATOR_ID = "admin" )
Variables ¶
This section is empty.
Functions ¶
func MockAccessControl ¶
MockAccessControl starts access control related services, creates a supervisor account as well as a test Operator It's intendend to be used by Access Control related unit tests.
func SendRequest ¶
func StartMockAccessControl ¶
Starts access control services & adds a test admin operator with requested adminId Returns the Operator's certificate serial number NOTE: StartMockAccessControl is intended to be used by all REST specific unit tests
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.