X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fgit-codeowners;a=blobdiff_plain;f=t%2Fapp-codeowners-util.t;fp=t%2Fapp-codeowners-util.t;h=4d7d224961c871a3fef55a9c973bc75a3f161a61;hp=d44b06ff02ad7b51f3c71f71493ad8960977fcd3;hb=c7e14d334a59423ea584fb0206a09bb4a74509a8;hpb=eb2a87067c07ba9f9c0d0edfb9abcc4a780ab62a diff --git a/t/app-codeowners-util.t b/t/app-codeowners-util.t index d44b06f..4d7d224 100644 --- a/t/app-codeowners-util.t +++ b/t/app-codeowners-util.t @@ -90,6 +90,8 @@ sub _setup_git_repo { my $repodir = tempdir; run_git('-C', $repodir, 'init')->wait; + run_git('-C', $repodir, qw{config --local user.email app-codeowners@example.com})->wait; + run_git('-C', $repodir, qw{config --local user.name App-Codeowners})->wait; $repodir->child('foo.txt')->touchpath; $repodir->child('a/b/c/bar.txt')->touchpath;