Skip to content

Commit

Permalink
fix: update password encoding in TestCloneUsingPassword
Browse files Browse the repository at this point in the history
Signed-off-by: sZma5a <[email protected]>
  • Loading branch information
鈴木 優耀 authored and sZma5a committed Feb 12, 2024
1 parent 2af2f06 commit ac339fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/git/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ func (g gitCommander) addCommit(filename string, content string) error {
}

func TestCloneUsingPassword(t *testing.T) {
url, err := includePasswordRemote("https://example.com/org/repo", "test-user", "test-password")
url, err := includePasswordRemote("https://example.com/org/repo", "test-user", "dGVzdC1wYXNzd29yZA==")
require.NoError(t, err)
assert.Equal(t, "https://test-user:[email protected]/org/repo", url)
}
Expand Down

0 comments on commit ac339fd

Please sign in to comment.