changeset 482:47fc9add99fe

fix compilation
author Dmitry Neverov <dmitry.neverov@jetbrains.com>
date Mon, 01 Oct 2012 12:18:29 +0400
parents 767e9a5bc209
children 6bd99f8bf8f1
files mercurial-tests/src/jetbrains/buildServer/buildTriggers/vcs/mercurial/Util.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial-tests/src/jetbrains/buildServer/buildTriggers/vcs/mercurial/Util.java	Wed Sep 26 18:30:05 2012 +0400
+++ b/mercurial-tests/src/jetbrains/buildServer/buildTriggers/vcs/mercurial/Util.java	Mon Oct 01 12:18:29 2012 +0400
@@ -56,7 +56,7 @@
     MirrorManagerImpl mirrorManager = new MirrorManagerImpl(config);
     ServerHgPathProvider hgPathProvider = new ServerHgPathProvider(config);
     HgTestConnectionSupport testConnection = new HgTestConnectionSupport(hgVcsRootFactory, repoFactory, mirrorManager, hgPathProvider);
-    return new MercurialVcsSupport(vcsManager, server, dispatcher, new ResetCacheRegister(), config, hgPathProvider,
+    return new MercurialVcsSupport(vcsManager, server, dispatcher, context.mock(ResetCacheRegister.class), config, hgPathProvider,
             repoFactory, mirrorManager, hgVcsRootFactory, testConnection);
   }