@@ -109,7 +109,7 @@ describe('package:bundle:install - tests', () => {
109109 } ) ;
110110 expect ( warnStub . callCount ) . to . equal ( 0 ) ;
111111 expect ( logStub . callCount ) . to . equal ( 1 ) ;
112- expect ( logStub . args [ 0 ] ) . to . deep . equal ( [ 'Successfully installed bundle [08c3i000000fylgAAA] ' ] ) ;
112+ expect ( logStub . args [ 0 ] ) . to . deep . equal ( [ 'Successfully installed bundle version 1Q83i000000fxw1AAA to test@org.org ' ] ) ;
113113 } ) ;
114114
115115 it ( 'should install a package bundle version with wait option' , async ( ) => {
@@ -134,7 +134,7 @@ describe('package:bundle:install - tests', () => {
134134 } ) ;
135135 expect ( warnStub . callCount ) . to . equal ( 0 ) ;
136136 expect ( logStub . callCount ) . to . equal ( 1 ) ;
137- expect ( logStub . args [ 0 ] ) . to . deep . equal ( [ 'Successfully installed bundle [08c3i000000fylgAAA] ' ] ) ;
137+ expect ( logStub . args [ 0 ] ) . to . deep . equal ( [ 'Successfully installed bundle version 1Q83i000000fxw1AAA to test@org.org ' ] ) ;
138138 } ) ;
139139
140140 // This test does very little to test the verbose command except make sure that it is there.
@@ -159,9 +159,8 @@ describe('package:bundle:install - tests', () => {
159159 Error : [ ] ,
160160 } ) ;
161161 expect ( warnStub . callCount ) . to . equal ( 0 ) ;
162- expect ( logStub . callCount ) . to . equal ( 2 ) ;
163- expect ( logStub . args [ 0 ] ) . to . deep . equal ( [ 'Install status: Success' ] ) ;
164- expect ( logStub . args [ 1 ] ) . to . deep . equal ( [ 'Successfully installed bundle [08c3i000000fylgAAA]' ] ) ;
162+ expect ( logStub . callCount ) . to . equal ( 1 ) ;
163+ expect ( logStub . args [ 0 ] ) . to . deep . equal ( [ 'Successfully installed bundle version 1Q83i000000fxw1AAA to test@org.org' ] ) ;
165164 } ) ;
166165
167166 it ( 'should handle queued status' , async ( ) => {
@@ -226,7 +225,7 @@ describe('package:bundle:install - tests', () => {
226225 await cmd . run ( ) ;
227226 assert . fail ( 'the above should throw an error' ) ;
228227 } catch ( e ) {
229- expect ( ( e as Error ) . message ) . to . equal ( 'Encountered errors installing the bundle! Unknown error ' ) ;
228+ expect ( ( e as Error ) . message ) . to . equal ( 'Encountered errors installing the bundle! Bundle installation failed. Run \'sf package bundle install report -i 08c3i000000fylXXXX -o test@org.org\' for more details. ' ) ;
230229 }
231230 } ) ;
232231 } ) ;
0 commit comments