diff --git a/messages/package_version_create.md b/messages/package_version_create.md index c4b7e92f..d510a399 100644 --- a/messages/package_version_create.md +++ b/messages/package_version_create.md @@ -191,13 +191,13 @@ Display verbose command output. When polling for the status of the creation, thi # InProgress -Package version creation request status is '%s'. Run "%s package:version:create:report -i %s" to query for status. +Package version creation request status is '%s'. Run "%s package version create report -i %s" to query for status. # Success Successfully created the package version [%s]. Subscriber Package Version Id: %s Package Installation URL: %s%s -As an alternative, you can use the "%s package:install" command. +As an alternative, you can use the "%s package install" command. # errorPathNotFound diff --git a/test/commands/package/packageVersion.nut.ts b/test/commands/package/packageVersion.nut.ts index 9e71a327..58d75f01 100644 --- a/test/commands/package/packageVersion.nut.ts +++ b/test/commands/package/packageVersion.nut.ts @@ -99,7 +99,7 @@ describe('package:version:*', () => { { ensureExitCode: 0 } ).shellOutput.stdout; expect(result).to.include("Package version creation request status is '"); - expect(result).to.match(/Run "sfd?x? package:version:create:report -i 08c.{15}" to query for status\./); + expect(result).to.match(/Run "sfd?x? package version create report -i 08c.{15}" to query for status\./); }); it('should create a new package version with async-validation', () => { @@ -110,7 +110,7 @@ describe('package:version:*', () => { // eslint-disable-next-line no-console console.log(result); expect(result).to.include("Package version creation request status is '"); - expect(result).to.match(/Run "sfd?x? package:version:create:report -i 08c.{15}" to query for status\./); + expect(result).to.match(/Run "sfd?x? package version create report -i 08c.{15}" to query for status\./); }); // package:version:create --wait --json is tested in versionPromoteUpdate.nut.ts @@ -124,7 +124,7 @@ describe('package:version:*', () => { expect(result).to.match( /Package Installation URL: https:\/\/login.salesforce.com\/packaging\/installPackage\.apexp\?p0=04t.{15}/ ); - expect(result).to.match(/As an alternative, you can use the "sfd?x? package:install" command\./); + expect(result).to.match(/As an alternative, you can use the "sfd?x? package install" command\./); }); it('should create a new package version (json)', () => { diff --git a/test/commands/package/packageVersionCreate.test.ts b/test/commands/package/packageVersionCreate.test.ts index a33a0e30..a42a92be 100644 --- a/test/commands/package/packageVersionCreate.test.ts +++ b/test/commands/package/packageVersionCreate.test.ts @@ -143,7 +143,7 @@ describe('package:version:create - tests', () => { expect(warnStub.callCount).to.equal(0); expect(logStub.callCount).to.equal(1); expect(logStub.args[0]).to.deep.equal([ - `Successfully created the package version [08c3i000000fylgAAA]. Subscriber Package Version Id: 04t3i000002eya2AAA${os.EOL}Package Installation URL: https://login.salesforce.com/packaging/installPackage.apexp?p0=04t3i000002eya2AAA${os.EOL}As an alternative, you can use the "sf package:install" command.`, + `Successfully created the package version [08c3i000000fylgAAA]. Subscriber Package Version Id: 04t3i000002eya2AAA${os.EOL}Package Installation URL: https://login.salesforce.com/packaging/installPackage.apexp?p0=04t3i000002eya2AAA${os.EOL}As an alternative, you can use the "sf package install" command.`, ]); }); @@ -182,7 +182,7 @@ describe('package:version:create - tests', () => { expect(warnStub.callCount).to.equal(0); expect(logStub.callCount).to.equal(1); expect(logStub.args[0]).to.deep.equal([ - `Successfully created the package version [08c3i000000fylgAAA]. Subscriber Package Version Id: 04t3i000002eya2AAA${os.EOL}Package Installation URL: https://login.salesforce.com/packaging/installPackage.apexp?p0=04t3i000002eya2AAA${os.EOL}As an alternative, you can use the "sf package:install" command.`, + `Successfully created the package version [08c3i000000fylgAAA]. Subscriber Package Version Id: 04t3i000002eya2AAA${os.EOL}Package Installation URL: https://login.salesforce.com/packaging/installPackage.apexp?p0=04t3i000002eya2AAA${os.EOL}As an alternative, you can use the "sf package install" command.`, ]); }); @@ -227,7 +227,7 @@ describe('package:version:create - tests', () => { ]); expect(logStub.callCount).to.equal(1); expect(logStub.args[0]).to.deep.equal([ - `Successfully created the package version [08c3i000000fylgAAA]. Subscriber Package Version Id: 04t3i000002eya2AAA${os.EOL}Package Installation URL: https://login.salesforce.com/packaging/installPackage.apexp?p0=04t3i000002eya2AAA${os.EOL}As an alternative, you can use the "sf package:install" command.`, + `Successfully created the package version [08c3i000000fylgAAA]. Subscriber Package Version Id: 04t3i000002eya2AAA${os.EOL}Package Installation URL: https://login.salesforce.com/packaging/installPackage.apexp?p0=04t3i000002eya2AAA${os.EOL}As an alternative, you can use the "sf package install" command.`, ]); });