Skip to content

Commit

Permalink
Fix one additional test to use heroku-24
Browse files Browse the repository at this point in the history
  • Loading branch information
joshwlewis committed Oct 17, 2024
1 parent a15a20f commit 930ef7a
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions packages/cli/test/unit/commands/apps/info.unit.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Check failure on line 156 in packages/cli/test/unit/commands/apps/info.unit.test.ts

View workflow job for this annotation

GitHub Actions / test (16.x, ubuntu-latest)

Expected indentation of 8 spaces but found 6
.get('/apps/myapp/collaborators').reply(200, collaborators)

Check failure on line 157 in packages/cli/test/unit/commands/apps/info.unit.test.ts

View workflow job for this annotation

GitHub Actions / test (16.x, ubuntu-latest)

Expected indentation of 8 spaces but found 6
.get('/apps/myapp/dynos').reply(200, [{type: 'web', size: 'Standard-1X', quantity: 2}]),

Check failure on line 158 in packages/cli/test/unit/commands/apps/info.unit.test.ts

View workflow job for this annotation

GitHub Actions / test (16.x, ubuntu-latest)

Expected indentation of 8 spaces but found 6
)
.command(['apps:info', 'myapp'])
.it('shows app info via arg', ({stdout, stderr}) => {
Expand All @@ -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')

Check failure on line 171 in packages/cli/test/unit/commands/apps/info.unit.test.ts

View workflow job for this annotation

GitHub Actions / test (16.x, ubuntu-latest)

Expected indentation of 8 spaces but found 6
.reply(200, appAcm),

Check failure on line 172 in packages/cli/test/unit/commands/apps/info.unit.test.ts

View workflow job for this annotation

GitHub Actions / test (16.x, ubuntu-latest)

Expected indentation of 8 spaces but found 6
)
.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'})

Check failure on line 176 in packages/cli/test/unit/commands/apps/info.unit.test.ts

View workflow job for this annotation

GitHub Actions / test (16.x, ubuntu-latest)

Expected indentation of 8 spaces but found 6
.get('/apps/myapp/addons').reply(200, addons)

Check failure on line 177 in packages/cli/test/unit/commands/apps/info.unit.test.ts

View workflow job for this annotation

GitHub Actions / test (16.x, ubuntu-latest)

Expected indentation of 8 spaces but found 6
.get('/apps/myapp/collaborators').reply(200, collaborators)

Check failure on line 178 in packages/cli/test/unit/commands/apps/info.unit.test.ts

View workflow job for this annotation

GitHub Actions / test (16.x, ubuntu-latest)

Expected indentation of 8 spaces but found 6
.get('/apps/myapp/dynos').reply(200, [{type: 'web', size: 'Standard-1X', quantity: 2}]),

Check failure on line 179 in packages/cli/test/unit/commands/apps/info.unit.test.ts

View workflow job for this annotation

GitHub Actions / test (16.x, ubuntu-latest)

Expected indentation of 8 spaces but found 6
)
.command(['apps:info', 'myapp'])
.it('shows app info via arg when the app is in a pipeline', ({stdout, stderr}) => {
Expand Down Expand Up @@ -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('')
Expand Down

0 comments on commit 930ef7a

Please sign in to comment.