Guy Carmeli преди 5 години
родител
ревизия
4df0185d35
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1
    1
      lib/android/app/src/test/java/com/reactnativenavigation/viewcontrollers/BottomTabPresenterTest.java

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

@@ -106,7 +106,7 @@ public class BottomTabPresenterTest extends BaseTest {
106 106
         Options options = new Options();
107 107
         options.bottomTabOptions.iconColor = new DontApplyColour();
108 108
         options.bottomTabOptions.selectedIconColor = new DontApplyColour();
109
-        uut.mergeChildOptions(options, (Component) child3.getView());
109
+        uut.mergeChildOptions(options, child3);
110 110
         verify(bottomTabs, times(0)).setIconActiveColor(anyInt(), anyInt());
111 111
         verify(bottomTabs, times(0)).setIconInactiveColor(anyInt(), anyInt());
112 112
     }