Skip to content

Commit

Permalink
feat: add support for validate-only and quick deployments from the bu…
Browse files Browse the repository at this point in the history
…ndling stage
  • Loading branch information
EstebanRomero84 committed Nov 28, 2023
1 parent f05bfde commit adf4ed1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/common/base/abstractQuick.ts
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,6 @@ export default abstract class QuickPromotionCommand<T extends typeof SfCommand>
*/
private buildPromoteOptions(deployId: string): void {
this.deployOptions = {
testLevel: 'Default',
deploymentId: deployId,
// get more promote options from the concrete implementation if needed
...this.getPromoteOptions(),
Expand Down
1 change: 0 additions & 1 deletion test/commands/project/deploy/pipeline/quick.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,6 @@ describe('project deploy pipeline quick', () => {
// we can get the call argument
// and validate its values
const requestArgument = requestMock.getCall(0).args[0] as HttpRequest;
expect(requestArgument.body).to.contain('"testLevel":"Default"');
expect(requestArgument.body).to.contain(`"deploymentId":"${mockDeploymentId}"`);
expect(requestArgument.body).to.contain('"undeployedOnly":true');
});
Expand Down

0 comments on commit adf4ed1

Please sign in to comment.