Skip to content

Commit

Permalink
Configure environment variables for Git in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
wesnel committed Dec 2, 2023
1 parent 6b30824 commit b72fdce
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions elsewhere-test.el
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,10 @@ Returns a buffer inside the repo."
(elsewhere--test-repo-spec-git-test-file-name spec)
default-directory))
(tmp-buff (find-file tmp-name))
(process-environment (append '("EMAIL=wgn@example.com"
"GIT_AUTHOR_NAME=wgn"
"GIT_COMMITTER_NAME=wgn")
process-environment))
(tmp-contents (elsewhere--test-repo-spec-git-test-file-contents spec))
(remote (elsewhere--test-repo-spec-git-remote spec))
(branch (elsewhere--test-repo-spec-git-branch spec))
Expand Down

0 comments on commit b72fdce

Please sign in to comment.