diff options
author | nulltoken <emeric.fermas@gmail.com> | 2015-03-17 21:32:22 +0300 |
---|---|---|
committer | nulltoken <emeric.fermas@gmail.com> | 2015-03-17 21:56:17 +0300 |
commit | 964943bf9bed4da87a08befa7df30b8e2d77373d (patch) | |
tree | 8aaab1a700edb2af0c3fe0a2cc020f627a27d89f /LibGit2Sharp.Tests/TestHelpers | |
parent | 930f63ce427d4e749578bf7b689affafc451c756 (diff) |
Introduce Identity type
Diffstat (limited to 'LibGit2Sharp.Tests/TestHelpers')
-rw-r--r-- | LibGit2Sharp.Tests/TestHelpers/Constants.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/LibGit2Sharp.Tests/TestHelpers/Constants.cs b/LibGit2Sharp.Tests/TestHelpers/Constants.cs index 71f942a5..46f1d4e4 100644 --- a/LibGit2Sharp.Tests/TestHelpers/Constants.cs +++ b/LibGit2Sharp.Tests/TestHelpers/Constants.cs @@ -6,7 +6,8 @@ namespace LibGit2Sharp.Tests.TestHelpers { public const string TemporaryReposPath = "TestRepos"; public const string UnknownSha = "deadbeefdeadbeefdeadbeefdeadbeefdeadbeef"; - public static readonly Signature Signature = new Signature("A. U. Thor", "thor@valhalla.asgard.com", new DateTimeOffset(2011, 06, 16, 10, 58, 27, TimeSpan.FromHours(2))); + public static readonly Identity Identity = new Identity("A. U. Thor", "thor@valhalla.asgard.com"); + public static readonly Signature Signature = new Signature(Identity, new DateTimeOffset(2011, 06, 16, 10, 58, 27, TimeSpan.FromHours(2))); // Populate these to turn on live credential tests: set the // PrivateRepoUrl to the URL of a repository that requires |