Skip to content

Commit

Permalink
fix: add password to mock org getConfig (#729)
Browse files Browse the repository at this point in the history
@W-12083436@
  • Loading branch information
peternhale committed Dec 16, 2022
1 parent 5a48a30 commit 00ee0fc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/testSetup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1128,6 +1128,10 @@ export class MockTestOrgData {

config.isDevHub = this.isDevHub;

if (this.password) {
config.password = crypto.encrypt(this.password);
}

return config as AuthFields;
}

Expand Down

0 comments on commit 00ee0fc

Please sign in to comment.