@@ -63,9 +63,9 @@ t.test('token list', async t => {
6363 registry . getTokens ( tokens )
6464 await npm . exec ( 'token' , [ ] )
6565 t . strictSame ( outputs , [
66- `Publish token efgh5678efgh5678… with id abcd123 created ${ now . slice ( 0 , 10 ) } ` ,
66+ `Token efgh5678efgh5678… with id abcd123 created ${ now . slice ( 0 , 10 ) } ` ,
6767 '' ,
68- `Read only token hgfe8765… with id abcd125 created ${ now . slice ( 0 , 10 ) } ` ,
68+ `Token hgfe8765… with id abcd125 created ${ now . slice ( 0 , 10 ) } ` ,
6969 'with IP whitelist: 192.168.1.1/32' ,
7070 '' ,
7171 ] )
@@ -263,7 +263,7 @@ t.test('token create defaults', async t => {
263263 } )
264264
265265 await npm . exec ( 'token' , [ 'create' ] )
266- t . match ( outputs , [ 'Created publish token n3wt0k3n' ] )
266+ t . match ( outputs , [ 'Created token n3wt0k3n' ] )
267267} )
268268
269269t . test ( 'token create extra token attributes' , async t => {
@@ -311,7 +311,7 @@ t.test('token create extra token attributes', async t => {
311311
312312 await npm . exec ( 'token' , [ 'create' ] )
313313 t . match ( outputs , [
314- 'Created read only token n3wt0k3n' ,
314+ 'Created token n3wt0k3n' ,
315315 'with IP whitelist: 10.0.0.0/8,192.168.1.0/24' ,
316316 `expires: ${ expires . toISOString ( ) } ` ,
317317 ] )
@@ -340,7 +340,7 @@ t.test('token create access.read-only', async t => {
340340 } )
341341
342342 await npm . exec ( 'token' , [ 'create' ] )
343- t . match ( outputs , [ 'Created read only token n3wt0k3n' ] )
343+ t . match ( outputs , [ 'Created token n3wt0k3n' ] )
344344} )
345345
346346t . test ( 'token create readonly' , async t => {
@@ -368,7 +368,7 @@ t.test('token create readonly', async t => {
368368 } )
369369
370370 await npm . exec ( 'token' , [ 'create' ] )
371- t . match ( outputs , [ 'Created read only token n3wt0k3n' ] )
371+ t . match ( outputs , [ 'Created token n3wt0k3n' ] )
372372} )
373373
374374t . test ( 'token create json output' , async t => {
0 commit comments