@@ -30,15 +30,15 @@ async def test_send_cred_def(connection, endorser_did, create_schema):
3030 schema = await create_schema (version = "1.0" )
3131 send_cred_def = await connection .send_and_await_reply_async (
3232 {
33- "@type" : "did:sov:BzCbsNYhMrjHiqZDTUASHg;spec /admin-credential-definitions/0.1/send-credential-definition" ,
33+ "@type" : "https://github.com/hyperledger/aries-toolbox/tree/master/docs /admin-credential-definitions/0.1/send-credential-definition" ,
3434 "schema_id" : schema .sent .schema_id ,
3535 "~transport" : {"return_route" : "all" },
3636 },
3737 timeout = 30 ,
3838 )
3939 assert (
4040 send_cred_def ["@type" ]
41- == "did:sov:BzCbsNYhMrjHiqZDTUASHg;spec /admin-credential-definitions/0.1/credential-definition-id"
41+ == "https://github.com/hyperledger/aries-toolbox/tree/master/docs /admin-credential-definitions/0.1/credential-definition-id"
4242 )
4343
4444
@@ -48,22 +48,22 @@ async def test_cred_def_get(connection, endorser_did, create_schema):
4848 schema = await create_schema (version = "1.1" )
4949 send_cred_def = await connection .send_and_await_reply_async (
5050 {
51- "@type" : "did:sov:BzCbsNYhMrjHiqZDTUASHg;spec /admin-credential-definitions/0.1/send-credential-definition" ,
51+ "@type" : "https://github.com/hyperledger/aries-toolbox/tree/master/docs /admin-credential-definitions/0.1/send-credential-definition" ,
5252 "schema_id" : schema .sent .schema_id ,
5353 "~transport" : {"return_route" : "all" },
5454 },
5555 timeout = 30 ,
5656 )
5757 cred_def_get = await connection .send_and_await_reply_async (
5858 {
59- "@type" : "did:sov:BzCbsNYhMrjHiqZDTUASHg;spec /admin-credential-definitions/0.1/credential-definition-get" ,
59+ "@type" : "https://github.com/hyperledger/aries-toolbox/tree/master/docs /admin-credential-definitions/0.1/credential-definition-get" ,
6060 "cred_def_id" : send_cred_def ["cred_def_id" ],
6161 "~transport" : {"return_route" : "all" },
6262 }
6363 )
6464 assert (
6565 cred_def_get ["@type" ]
66- == "did:sov:BzCbsNYhMrjHiqZDTUASHg;spec /admin-credential-definitions/0.1/credential-definition"
66+ == "https://github.com/hyperledger/aries-toolbox/tree/master/docs /admin-credential-definitions/0.1/credential-definition"
6767 )
6868 assert schema .sent .schema_id == cred_def_get ["schema_id" ]
6969 assert send_cred_def ["cred_def_id" ] == cred_def_get ["cred_def_id" ]
@@ -75,7 +75,7 @@ async def test_cred_def_get_list(connection, endorser_did, create_schema):
7575 schema1_2 = await create_schema (version = "1.2" )
7676 send_schema1_2 = await connection .send_and_await_reply_async (
7777 {
78- "@type" : "did:sov:BzCbsNYhMrjHiqZDTUASHg;spec /admin-credential-definitions/0.1/send-credential-definition" ,
78+ "@type" : "https://github.com/hyperledger/aries-toolbox/tree/master/docs /admin-credential-definitions/0.1/send-credential-definition" ,
7979 "schema_id" : schema1_2 .sent .schema_id ,
8080 "~transport" : {"return_route" : "all" },
8181 },
@@ -84,21 +84,21 @@ async def test_cred_def_get_list(connection, endorser_did, create_schema):
8484 schema1_3 = await create_schema (version = "1.3" )
8585 send_schema1_3 = await connection .send_and_await_reply_async (
8686 {
87- "@type" : "did:sov:BzCbsNYhMrjHiqZDTUASHg;spec /admin-credential-definitions/0.1/send-credential-definition" ,
87+ "@type" : "https://github.com/hyperledger/aries-toolbox/tree/master/docs /admin-credential-definitions/0.1/send-credential-definition" ,
8888 "schema_id" : schema1_3 .sent .schema_id ,
8989 "~transport" : {"return_route" : "all" },
9090 },
9191 timeout = 30 ,
9292 )
9393 cred_def_get_list = await connection .send_and_await_reply_async (
9494 {
95- "@type" : "did:sov:BzCbsNYhMrjHiqZDTUASHg;spec /admin-credential-definitions/0.1/credential-definition-get-list" ,
95+ "@type" : "https://github.com/hyperledger/aries-toolbox/tree/master/docs /admin-credential-definitions/0.1/credential-definition-get-list" ,
9696 "~transport" : {"return_route" : "all" },
9797 }
9898 )
9999 assert (
100100 cred_def_get_list ["@type" ]
101- == "did:sov:BzCbsNYhMrjHiqZDTUASHg;spec /admin-credential-definitions/0.1/credential-definition-list"
101+ == "https://github.com/hyperledger/aries-toolbox/tree/master/docs /admin-credential-definitions/0.1/credential-definition-list"
102102 )
103103 assert send_schema1_2 ["cred_def_id" ] in [
104104 result ["cred_def_id" ] for result in cred_def_get_list ["results" ]
0 commit comments