Browse Source

fixed wrong test

Daniel Zlotin 7 years ago
parent
commit
4b7349e886

+ 1
- 2
lib/android/app/src/test/java/com/reactnativenavigation/anim/ViewAnimationSetBuilderTest.java View File

@@ -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