@@ -21,7 +21,7 @@ public void SmugdeIsNotCalledForFileWhichDoesNotMatchAnAttributeEntry()
2121
2222 string repoPath = InitNewRepository ( ) ;
2323 string fileName = Guid . NewGuid ( ) + ".rot13" ;
24- string configPath = CreateConfigurationWithDummyUser ( Constants . Signature ) ;
24+ string configPath = CreateConfigurationWithDummyUser ( Constants . Identity ) ;
2525 var repositoryOptions = new RepositoryOptions { GlobalConfigurationLocation = configPath } ;
2626 using ( var repo = new Repository ( repoPath , repositoryOptions ) )
2727 {
@@ -61,7 +61,7 @@ public void CorrectlyEncodesAndDecodesInput()
6161
6262 string repoPath = InitNewRepository ( ) ;
6363 string fileName = Guid . NewGuid ( ) + ".rot13" ;
64- string configPath = CreateConfigurationWithDummyUser ( Constants . Signature ) ;
64+ string configPath = CreateConfigurationWithDummyUser ( Constants . Identity ) ;
6565 var repositoryOptions = new RepositoryOptions { GlobalConfigurationLocation = configPath } ;
6666 using ( var repo = new Repository ( repoPath , repositoryOptions ) )
6767 {
@@ -106,7 +106,7 @@ public void WhenStagedFileDoesNotMatchPathSpecFileIsNotFiltered(string pathSpec,
106106 string repoPath = InitNewRepository ( ) ;
107107 string fileName = Guid . NewGuid ( ) + fileExtension ;
108108
109- string configPath = CreateConfigurationWithDummyUser ( Constants . Signature ) ;
109+ string configPath = CreateConfigurationWithDummyUser ( Constants . Identity ) ;
110110 var repositoryOptions = new RepositoryOptions { GlobalConfigurationLocation = configPath } ;
111111 using ( var repo = new Repository ( repoPath , repositoryOptions ) )
112112 {
@@ -141,7 +141,7 @@ public void CleanIsCalledIfAttributeEntryMatches(string filterAttribute, string
141141 string repoPath = InitNewRepository ( ) ;
142142 string fileName = Guid . NewGuid ( ) + ".txt" ;
143143
144- string configPath = CreateConfigurationWithDummyUser ( Constants . Signature ) ;
144+ string configPath = CreateConfigurationWithDummyUser ( Constants . Identity ) ;
145145 var repositoryOptions = new RepositoryOptions { GlobalConfigurationLocation = configPath } ;
146146 using ( var repo = new Repository ( repoPath , repositoryOptions ) )
147147 {
@@ -172,7 +172,7 @@ public void SmudgeIsCalledIfAttributeEntryMatches(string filterAttribute, string
172172 string repoPath = InitNewRepository ( ) ;
173173 string fileName = Guid . NewGuid ( ) + ".txt" ;
174174
175- string configPath = CreateConfigurationWithDummyUser ( Constants . Signature ) ;
175+ string configPath = CreateConfigurationWithDummyUser ( Constants . Identity ) ;
176176 var repositoryOptions = new RepositoryOptions { GlobalConfigurationLocation = configPath } ;
177177 using ( var repo = new Repository ( repoPath , repositoryOptions ) )
178178 {
@@ -203,15 +203,15 @@ private static void DeleteFile(Repository repo, string fileName)
203203 {
204204 File . Delete ( Path . Combine ( repo . Info . WorkingDirectory , fileName ) ) ;
205205 repo . Stage ( fileName ) ;
206- repo . Commit ( "remove file" ) ;
206+ repo . Commit ( "remove file" , Constants . Signature , Constants . Signature ) ;
207207 }
208208
209209 private static Blob CommitOnBranchAndReturnDatabaseBlob ( Repository repo , string fileName , string input )
210210 {
211211 Touch ( repo . Info . WorkingDirectory , fileName , input ) ;
212212 repo . Stage ( fileName ) ;
213213
214- var commit = repo . Commit ( "new file" ) ;
214+ var commit = repo . Commit ( "new file" , Constants . Signature , Constants . Signature ) ;
215215
216216 var blob = ( Blob ) commit . Tree [ fileName ] . Target ;
217217 return blob ;
0 commit comments