@@ -16,7 +16,7 @@ describeCommand(
1616 } )
1717 describe ( 'init' , ( ) => {
1818 it ( 'should initialize access with pss address as grantee' , async ( ) => {
19- const pubKey = await getPublicAddress ( 'http://localhost:21633 ' )
19+ const pubKey = await getPublicAddress ( 'http://localhost:1637 ' )
2020 await invokeTestCli ( [ 'access' , 'init' , ...getStampOption ( ) , '--list-name' , 'test-access' , '--grantee' , pubKey ] )
2121 expect ( getLastMessage ( ) ) . toEqual ( "Grantee list 'test-access' initialized successfully!" )
2222 } )
@@ -45,7 +45,7 @@ describeCommand(
4545 it ( 'should grant access to a new grantee' , async ( ) => {
4646 await invokeTestCli ( [ 'access' , 'init' , ...getStampOption ( ) , '-n' , 'test-access' ] )
4747 await System . sleepMillis ( 1000 )
48- const pubKey = await getPublicAddress ( 'http://localhost:21633 ' )
48+ const pubKey = await getPublicAddress ( 'http://localhost:1637 ' )
4949 await invokeTestCli ( [ 'access' , 'grant' , '--list-name' , 'test-access' , '--grantee' , pubKey ] )
5050 expect ( getLastMessage ( ) ) . toContain ( `Access granted to ${ pubKey } ` )
5151 } )
@@ -72,7 +72,7 @@ describeCommand(
7272 it ( 'should show grantee list reference and history address' , async ( ) => {
7373 await invokeTestCli ( [ 'access' , 'init' , ...getStampOption ( ) , '-n' , 'test-access' ] )
7474 await System . sleepMillis ( 1000 )
75- const pubKey = await getPublicAddress ( 'http://localhost:21633 ' )
75+ const pubKey = await getPublicAddress ( 'http://localhost:1637 ' )
7676 await invokeTestCli ( [ 'access' , 'grant' , '--list-name' , 'test-access' , '--grantee' , pubKey , '--verbose' ] )
7777 expect ( getNthLastMessage ( 2 ) ) . toContain ( 'Grantee list reference' )
7878 expect ( getNthLastMessage ( 2 ) ) . toMatch ( / [ a - f 0 - 9 ] { 64 } / g)
@@ -84,7 +84,7 @@ describeCommand(
8484
8585 describe ( 'revoke' , ( ) => {
8686 it ( 'should revoke access from a grantee' , async ( ) => {
87- const pubKey = await getPublicAddress ( 'http://localhost:21633 ' )
87+ const pubKey = await getPublicAddress ( 'http://localhost:1637 ' )
8888 await invokeTestCli ( [ 'access' , 'init' , ...getStampOption ( ) , '-n' , 'test-access' , '--grantee' , pubKey ] )
8989 await System . sleepMillis ( 1000 )
9090 await invokeTestCli ( [ 'access' , 'revoke' , '--list-name' , 'test-access' , '--grantee' , pubKey ] )
@@ -111,7 +111,7 @@ describeCommand(
111111
112112 describe ( 'when verbose option is used' , ( ) => {
113113 it ( 'should show grantee list reference and history address' , async ( ) => {
114- const pubKey = await getPublicAddress ( 'http://localhost:21633 ' )
114+ const pubKey = await getPublicAddress ( 'http://localhost:1637 ' )
115115 await invokeTestCli ( [ 'access' , 'init' , ...getStampOption ( ) , '-n' , 'test-access' , '--grantee' , pubKey ] )
116116 await System . sleepMillis ( 1000 )
117117 await invokeTestCli ( [ 'access' , 'revoke' , '--list-name' , 'test-access' , '--grantee' , pubKey , '--verbose' ] )
@@ -125,7 +125,7 @@ describeCommand(
125125
126126 describe ( 'show' , ( ) => {
127127 it ( 'should show all grantees in the list' , async ( ) => {
128- const granteePubKey = await getPublicAddress ( 'http://localhost:21633 ' )
128+ const granteePubKey = await getPublicAddress ( 'http://localhost:1637 ' )
129129 await invokeTestCli ( [ 'access' , 'init' , ...getStampOption ( ) , '-n' , 'test-access' ] )
130130 await System . sleepMillis ( 1000 )
131131 await invokeTestCli ( [ 'access' , 'grant' , '--list-name' , 'test-access' , '--grantee' , granteePubKey ] )
@@ -169,7 +169,7 @@ describeCommand(
169169
170170 describe ( 'history' , ( ) => {
171171 it ( 'should show the history of operations on a grantee list' , async ( ) => {
172- const granteePubKey = await getPublicAddress ( 'http://localhost:21633 ' )
172+ const granteePubKey = await getPublicAddress ( 'http://localhost:1637 ' )
173173 await invokeTestCli ( [ 'access' , 'init' , ...getStampOption ( ) , '-n' , 'test-access' , '--grantee' , granteePubKey ] )
174174 await System . sleepMillis ( 1000 )
175175 await invokeTestCli ( [ 'access' , 'revoke' , '--list-name' , 'test-access' , '--grantee' , granteePubKey ] )
0 commit comments