Skip to content

Commit

Permalink
Merge pull request #1276 from zowe/make-ssh-user-secure
Browse files Browse the repository at this point in the history
Make the user field on SSH profiles secure
  • Loading branch information
zFernand0 authored Jan 19, 2022
2 parents 58bd5af + afa41ab commit dbd3370
Show file tree
Hide file tree
Showing 6 changed files with 103 additions and 90 deletions.
5 changes: 3 additions & 2 deletions __tests__/__integration__/imperative.integration.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,9 @@ describe("imperative create profile", () => {
expect(response.stdout.toString()).toContain("Profile created successfully!");
expect(response.stdout.toString()).toContain("FAKEHOST");
expect(response.stdout.toString()).toContain("22");
expect(response.stdout.toString()).toContain("FAKEUSER");
expect(response.stdout.toString()).toContain("managed by Zowe CLI");
expect(response.stdout.toString()).not.toContain("FAKEUSER");
expect(response.stdout.toString()).toContain("user: managed by Zowe CLI");
expect(response.stdout.toString()).toContain("password: managed by Zowe CLI");
});

it("should successfully create a profile without username, password, or host", async () => {
Expand Down
156 changes: 78 additions & 78 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit dbd3370

Please sign in to comment.