Daniel Zlotin преди 7 години
родител
ревизия
4b7349e886
променени са 1 файла, в които са добавени 1 реда и са изтрити 2 реда
  1. 1
    2
      lib/android/app/src/test/java/com/reactnativenavigation/anim/ViewAnimationSetBuilderTest.java

+ 1
- 2
lib/android/app/src/test/java/com/reactnativenavigation/anim/ViewAnimationSetBuilderTest.java Целия файл

@@ -32,10 +32,9 @@ public class ViewAnimationSetBuilderTest extends BaseTest {
32 32
 	@Test
33 33
 	public void optionalCompletionListener() throws Exception {
34 34
 		new ViewAnimationSetBuilder()
35
-				.withEndListener(mockListener)
36 35
 				.add(someView(), someAnimation())
37 36
 				.start();
38
-		verify(mockListener, times(1)).run();
37
+		verify(mockListener, times(0)).run();
39 38
 	}
40 39
 
41 40
 	@Test