diff --git a/test/commands/package/packageVersion.nut.ts b/test/commands/package/packageVersion.nut.ts index d2730c06..60211bd5 100644 --- a/test/commands/package/packageVersion.nut.ts +++ b/test/commands/package/packageVersion.nut.ts @@ -236,10 +236,11 @@ describe('package:version:*', () => { it('should list the package versions created --verbose (json)', async () => { const command = `package:version:create:list --status Success --created-last-days 10 -v ${session.hubOrg.username} --json --verbose`; const output = execCmd(command, { ensureExitCode: 0 }).jsonOutput; + const expectedVerboseKeys = [...expectedPVCRkeys, 'VersionName', 'VersionNumber']; expect(output).to.be.ok; expect(output?.status).to.equal(0); expect(output?.result).to.have.length.greaterThan(0); - expect(output?.result[0]).to.have.keys(expectedPVCRkeys); + expect(output?.result[0]).to.have.keys(expectedVerboseKeys); }); }); describe('package:version:list', () => {