Skip to content

Commit

Permalink
Fixing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lostintangent committed Mar 28, 2016
1 parent 2bd942e commit 23f908b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Tasks/codepush-promote/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ describe("CodePush Promote Task", function() {
var expectedCommands = [
"logout",
"login --accessKey \"" + ACCESS_KEY + "\"",
"promote " + APP_NAME + " " + SOURCE_DEPLOYMENT_NAME + " " + TARGET_DEPLOYMENT_NAME + " --mandatory \"false\" --rollout \"" + ROLLOUT + "\"",
"promote \"" + APP_NAME + "\" \"" + SOURCE_DEPLOYMENT_NAME + "\" \"" + TARGET_DEPLOYMENT_NAME + "\" --mandatory \"false\" --rollout \"" + ROLLOUT + "\"",
"logout"
];

Expand All @@ -96,7 +96,7 @@ describe("CodePush Promote Task", function() {
var expectedCommands = [
"logout",
"login --accessKey \"" + ACCESS_KEY + "\"",
"promote " + APP_NAME + " " + SOURCE_DEPLOYMENT_NAME + " " + TARGET_DEPLOYMENT_NAME + " --mandatory \"false\" --rollout \"" + ROLLOUT + "\"",
"promote \"" + APP_NAME + "\" \"" + SOURCE_DEPLOYMENT_NAME + "\" \"" + TARGET_DEPLOYMENT_NAME + "\" --mandatory \"false\" --rollout \"" + ROLLOUT + "\"",
"logout"
];

Expand Down
4 changes: 2 additions & 2 deletions Tasks/codepush-release/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ describe("CodePush Deploy Task", function() {
var expectedCommands = [
"logout",
"login --accessKey \"" + ACCESS_KEY + "\"",
"release " + APP_NAME + " " + PACKAGE_PATH + " " + APP_STORE_VERSION + " --deploymentName \"" + DEPLOYMENT_NAME + "\" --description \"" + DESCRIPTION + "\" --rollout \"" + ROLLOUT + "\" --disabled",
"release \"" + APP_NAME + "\" \"" + PACKAGE_PATH + "\" \"" + APP_STORE_VERSION + "\" --deploymentName \"" + DEPLOYMENT_NAME + "\" --description \"" + DESCRIPTION + "\" --rollout \"" + ROLLOUT + "\" --disabled",
"logout"
];

Expand All @@ -96,7 +96,7 @@ describe("CodePush Deploy Task", function() {
var expectedCommands = [
"logout",
"login --accessKey \"" + ACCESS_KEY + "\"",
"release " + APP_NAME + " " + PACKAGE_PATH + " " + APP_STORE_VERSION + " --deploymentName \"" + DEPLOYMENT_NAME + "\" --description \"" + DESCRIPTION + "\" --rollout \"" + ROLLOUT + "\" --disabled",
"release \"" + APP_NAME + "\" \"" + PACKAGE_PATH + "\" \"" + APP_STORE_VERSION + "\" --deploymentName \"" + DEPLOYMENT_NAME + "\" --description \"" + DESCRIPTION + "\" --rollout \"" + ROLLOUT + "\" --disabled",
"logout"
];

Expand Down

0 comments on commit 23f908b

Please sign in to comment.