-
Notifications
You must be signed in to change notification settings - Fork 244
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
@W-16566993: Migrating From SFDX to SFCLI (#3829)
[W-16566993](https://gus.lightning.force.com/a07EE00001zeux8YAA) Migrating from SFDX CLI to SF CLI --------- Co-authored-by: James Estevez <[email protected]>
- Loading branch information
1 parent
42093d7
commit 77e2fdc
Showing
28 changed files
with
111 additions
and
116 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -376,7 +376,7 @@ def test_get_access_token(self, Command): | |
with mock.patch("cumulusci.core.config.sfdx_org_config.sfdx", sfdx): | ||
access_token = config.get_access_token(alias="dadvisor") | ||
sfdx.assert_called_once_with( | ||
"force:org:display --targetusername[email protected] --json" | ||
"org display --target-org[email protected] --json" | ||
) | ||
assert access_token == "the-token" | ||
|
||
|
@@ -792,7 +792,6 @@ def test_build_org_create_args(self, scratch_def_file): | |
"noancestors": True, | ||
"sfdx_alias": "project__org", | ||
"default": True, | ||
"instance": "NA01", | ||
"release": "previous", | ||
}, | ||
"test", | ||
|
@@ -804,18 +803,17 @@ def test_build_org_create_args(self, scratch_def_file): | |
"tmp.json", | ||
"-w", | ||
"120", | ||
"--targetdevhubusername", | ||
"--target-dev-hub", | ||
"[email protected]", | ||
"-n", | ||
"--noancestors", | ||
"--durationdays", | ||
"--no-namespace", | ||
"--no-ancestors", | ||
"--duration-days", | ||
"1", | ||
"release=previous", | ||
"--release=previous", | ||
"-a", | ||
"project__org", | ||
"[email protected]", | ||
"-s", | ||
"instance=NA01", | ||
"[email protected]", | ||
"--set-default", | ||
] | ||
|
||
def test_build_org_create_args__email_in_scratch_def(self): | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.