@@ -60,7 +60,6 @@ const pkgBundleInstallQueuedResult: BundleSObjects.PkgBundleVersionInstallReqRes
6060describe ( 'package:bundle:install - tests' , ( ) => {
6161 const $$ = new TestContext ( ) ;
6262 const testOrg = new MockTestOrgData ( ) ;
63- const testHubOrg = new MockTestOrgData ( ) ;
6463 let installStub = $$ . SANDBOX . stub ( PackageBundleInstall , 'installBundle' ) ;
6564 const config = new Config ( { root : import . meta. url } ) ;
6665
@@ -75,7 +74,7 @@ describe('package:bundle:install - tests', () => {
7574 } ;
7675
7776 before ( async ( ) => {
78- await $$ . stubAuths ( testOrg , testHubOrg ) ;
77+ await $$ . stubAuths ( testOrg ) ;
7978 await config . load ( ) ;
8079 } ) ;
8180
@@ -93,7 +92,7 @@ describe('package:bundle:install - tests', () => {
9392 installStub . resolves ( pkgBundleInstallSuccessResult ) ;
9493
9594 const cmd = new PackageBundlesInstall (
96- [ '-b' , 'TestBundle@1.0' , '--target-org' , 'test@org.org' , '--target- dev-hub' , 'test@hub.org ' ] ,
95+ [ '-b' , 'TestBundle@1.0' , '--target-org' , 'test@org.org' , '--dev-hub-org ' , '00D3i000000TNHYCA4 ' ] ,
9796 config
9897 ) ;
9998 stubSpinner ( cmd ) ;
@@ -118,7 +117,7 @@ describe('package:bundle:install - tests', () => {
118117 installStub . resolves ( pkgBundleInstallSuccessResult ) ;
119118
120119 const cmd = new PackageBundlesInstall (
121- [ '-b' , 'TestBundle@1.0' , '--target-org' , 'test@org.org' , '--target- dev-hub' , 'test@hub.org ' , '-w' , '10' ] ,
120+ [ '-b' , 'TestBundle@1.0' , '--target-org' , 'test@org.org' , '--dev-hub-org ' , '00D3i000000TNHYCA4 ' , '-w' , '10' ] ,
122121 config
123122 ) ;
124123 stubSpinner ( cmd ) ;
@@ -144,7 +143,7 @@ describe('package:bundle:install - tests', () => {
144143 installStub . resolves ( pkgBundleInstallSuccessResult ) ;
145144
146145 const cmd = new PackageBundlesInstall (
147- [ '-b' , 'TestBundle@1.0' , '--target-org' , 'test@org.org' , '--target- dev-hub' , 'test@hub.org ' , '--verbose' ] ,
146+ [ '-b' , 'TestBundle@1.0' , '--target-org' , 'test@org.org' , '--dev-hub-org ' , '00D3i000000TNHYCA4 ' , '--verbose' ] ,
148147 config
149148 ) ;
150149 stubSpinner ( cmd ) ;
@@ -170,7 +169,7 @@ describe('package:bundle:install - tests', () => {
170169 installStub . resolves ( pkgBundleInstallQueuedResult ) ;
171170
172171 const cmd = new PackageBundlesInstall (
173- [ '-b' , 'TestBundle@1.0' , '--target-org' , 'test@org.org' , '--target- dev-hub' , 'test@hub.org ' ] ,
172+ [ '-b' , 'TestBundle@1.0' , '--target-org' , 'test@org.org' , '--dev-hub-org ' , '00D3i000000TNHYCA4 ' ] ,
174173 config
175174 ) ;
176175 stubSpinner ( cmd ) ;
@@ -190,7 +189,7 @@ describe('package:bundle:install - tests', () => {
190189 // Normalize CRLF to LF to make assertion OS-agnostic
191190 const queuedMsg = String ( logStub . args [ 0 ] [ 0 ] ) . replace ( / \r \n / g, '\n' ) ;
192191 expect ( queuedMsg ) . to . equal (
193- 'Bundle installation is currently Queued. You can continue to query the status using\nsf package bundle install: report -i 08c3i000000fylgBBB -o test@org.org'
192+ 'Bundle installation is currently Queued. You can continue to query the status using\nsf package bundle install report -i 08c3i000000fylgBBB -o test@org.org'
194193 ) ;
195194 } ) ;
196195
@@ -200,7 +199,7 @@ describe('package:bundle:install - tests', () => {
200199
201200 try {
202201 const cmd = new PackageBundlesInstall (
203- [ '-b' , 'TestBundle@1.0' , '--target-org' , 'test@org.org' , '--target- dev-hub' , 'test@hub.org ' ] ,
202+ [ '-b' , 'TestBundle@1.0' , '--target-org' , 'test@org.org' , '--dev-hub-org ' , '00D3i000000TNHYCA4 ' ] ,
204203 config
205204 ) ;
206205 stubSpinner ( cmd ) ;
@@ -220,7 +219,7 @@ describe('package:bundle:install - tests', () => {
220219
221220 try {
222221 const cmd = new PackageBundlesInstall (
223- [ '-b' , 'TestBundle@1.0' , '--target-org' , 'test@org.org' , '--target- dev-hub' , 'test@hub.org ' ] ,
222+ [ '-b' , 'TestBundle@1.0' , '--target-org' , 'test@org.org' , '--dev-hub-org ' , '00D3i000000TNHYCA4 ' ] ,
224223 config
225224 ) ;
226225 stubSpinner ( cmd ) ;
0 commit comments