Skip to content
This repository has been archived by the owner on Oct 23, 2022. It is now read-only.

Commit

Permalink
fix running tests for more recent API versions
Browse files Browse the repository at this point in the history
  • Loading branch information
amtrack committed Oct 26, 2015
1 parent 70d4348 commit 4c5f094
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/cli/deployTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ var Subcommand = module.exports = function(project) {
var self = this;
DeployCommand.call(self, doc, project);
self.action = "Deployment with test execution";
self.deployOpts = {rollbackOnError: true, runAllTests: true};
self.deployOpts = {rollbackOnError: true, testLevel: 'RunLocalTests'};
};

Subcommand.prototype = Object.create(DeployCommand.prototype);
Expand Down
2 changes: 1 addition & 1 deletion lib/cli/validateTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ var SubCommand = module.exports = function(project) {
var self = this;
DeployCommand.call(self, doc, project);
self.action = "Validation with test execution";
self.deployOpts = {rollbackOnError: true, checkOnly: true, runAllTests: true};
self.deployOpts = {rollbackOnError: true, checkOnly: true, testLevel: 'RunLocalTests'};
};

SubCommand.prototype = Object.create(DeployCommand.prototype);
Expand Down

0 comments on commit 4c5f094

Please sign in to comment.