From 930ef7a23775b8b854c5ff14414caac5ad855836 Mon Sep 17 00:00:00 2001 From: Josh W Lewis Date: Thu, 17 Oct 2024 14:26:12 -0500 Subject: [PATCH] Fix one additional test to use heroku-24 --- .../test/unit/commands/apps/info.unit.test.ts | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/packages/cli/test/unit/commands/apps/info.unit.test.ts b/packages/cli/test/unit/commands/apps/info.unit.test.ts index c66901e788..3baee01b47 100644 --- a/packages/cli/test/unit/commands/apps/info.unit.test.ts +++ b/packages/cli/test/unit/commands/apps/info.unit.test.ts @@ -153,9 +153,9 @@ describe('apps:info', function () { ) .nock('https://api.heroku.com:443', api => api - .get('/apps/myapp/addons').reply(200, addons) - .get('/apps/myapp/collaborators').reply(200, collaborators) - .get('/apps/myapp/dynos').reply(200, [{type: 'web', size: 'Standard-1X', quantity: 2}]), + .get('/apps/myapp/addons').reply(200, addons) + .get('/apps/myapp/collaborators').reply(200, collaborators) + .get('/apps/myapp/dynos').reply(200, [{type: 'web', size: 'Standard-1X', quantity: 2}]), ) .command(['apps:info', 'myapp']) .it('shows app info via arg', ({stdout, stderr}) => { @@ -168,15 +168,15 @@ describe('apps:info', function () { .stderr() .nock('https://api.heroku.com', api => api - .get('/apps/myapp') - .reply(200, appAcm), + .get('/apps/myapp') + .reply(200, appAcm), ) .nock('https://api.heroku.com:443', api => api - .get('/apps/myapp/pipeline-couplings').reply(200, {app: {id: appAcm.id}, pipeline: {name: 'my-pipeline'}, stage: 'production'}) - .get('/apps/myapp/addons').reply(200, addons) - .get('/apps/myapp/collaborators').reply(200, collaborators) - .get('/apps/myapp/dynos').reply(200, [{type: 'web', size: 'Standard-1X', quantity: 2}]), + .get('/apps/myapp/pipeline-couplings').reply(200, {app: {id: appAcm.id}, pipeline: {name: 'my-pipeline'}, stage: 'production'}) + .get('/apps/myapp/addons').reply(200, addons) + .get('/apps/myapp/collaborators').reply(200, collaborators) + .get('/apps/myapp/dynos').reply(200, [{type: 'web', size: 'Standard-1X', quantity: 2}]), ) .command(['apps:info', 'myapp']) .it('shows app info via arg when the app is in a pipeline', ({stdout, stderr}) => { @@ -349,7 +349,7 @@ Region: eu Repo Size: 1000 B Slug Size: 1000 B Space: myspace -Stack: cedar-14 (next build will use heroku-22) +Stack: cedar-14 (next build will use heroku-24) Web URL: https://myapp.herokuapp.com `) expect(unwrap(stderr)).to.contains('')