Skip to content

Commit

Permalink
Update test
Browse files Browse the repository at this point in the history
  • Loading branch information
zwhitfield3 committed Apr 26, 2024
1 parent d7c3e69 commit 0db7db0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/cli/test/unit/commands/auth/token.unit.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ describe('auth:token', () => {
.command(['auth:token'])
.it('shows "long-term" token generation warning for non-internal users', ctx => {
expect(ctx.stdout).to.equal('foobar\n')
expect(ctx.stderr).to.contain('To generate a token that expires in one year, use heroku authorizations:create.')
expect(ctx.stderr).to.contain('To generate a token that expires in one year, use heroku')
expect(ctx.stderr).to.contain('authorizations:create.')
expect(ctx.stderr).to.not.contain('All tokens expire one year after we generate it.')
})

Expand Down

0 comments on commit 0db7db0

Please sign in to comment.