diff options
author | Alan McGovern <alan@xamarin.com> | 2015-09-14 19:38:40 +0300 |
---|---|---|
committer | Alan McGovern <alan@xamarin.com> | 2015-09-14 19:40:07 +0300 |
commit | 28b20342c468b8cabed7c7aea70d08a54b70c03c (patch) | |
tree | 14634914440433eebd0c5e8621c98fd70e34fbc6 | |
parent | 12eac4996ebaf05ca970cdad7165a5622c17b2ac (diff) |
Fix a regression from the previous merge
-rw-r--r-- | main/src/addins/VersionControl/MonoDevelop.VersionControl.Git.Tests/BaseRepositoryTests.cs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/main/src/addins/VersionControl/MonoDevelop.VersionControl.Git.Tests/BaseRepositoryTests.cs b/main/src/addins/VersionControl/MonoDevelop.VersionControl.Git.Tests/BaseRepositoryTests.cs index fb089f0a28..f87de2f9b0 100644 --- a/main/src/addins/VersionControl/MonoDevelop.VersionControl.Git.Tests/BaseRepositoryTests.cs +++ b/main/src/addins/VersionControl/MonoDevelop.VersionControl.Git.Tests/BaseRepositoryTests.cs @@ -654,9 +654,11 @@ namespace MonoDevelop.VersionControl.Tests protected void Checkout (string path, string url) { - Repository _repo = GetRepo (path, url); - _repo.Checkout (path, true, new ProgressMonitor ()); + var mockRepo = (UrlBasedRepository)GetRepo (); + mockRepo.Url = url; + mockRepo.Checkout (path, true, new ProgressMonitor ()); + var _repo = GetRepo (path, url); if (Repo == null) Repo = _repo; else |