fix test
authorEugene.Petrenko <eugene.petrenko@gmail.com>
Tue, 23 Aug 2011 18:42:02 +0000 (20:42 +0200)
committerEugene.Petrenko <eugene.petrenko@gmail.com>
Tue, 23 Aug 2011 18:42:02 +0000 (20:42 +0200)
nuget-tests/src/jetbrains/buildServer/nuget/tests/integration/PackagesPublishIntegrationTest.java

index 5488f429174062c5b6709e9b0d7ecdc2c0266ecb..c5f8eae9011da67a826002bfe21b58ff3f5ef466 100644 (file)
@@ -47,6 +47,10 @@ public class PackagesPublishIntegrationTest extends IntegrationTestBase {
   protected void setUp() throws Exception {\r
     super.setUp();\r
     myPublishParameters = m.mock(NuGetPublishParameters.class);\r
+    m.checking(new Expectations(){{\r
+      allowing(myLogger).activityStarted(with(equal("push")), with(any(String.class)), with(any(String.class)));\r
+      allowing(myLogger).activityFinished(with(equal("push")), with(any(String.class)));\r
+    }});\r
   }\r
 \r
   @Test\r