Guy Carmeli преди 6 години
родител
ревизия
498fdd6104
променени са 1 файла, в които са добавени 0 реда и са изтрити 12 реда
  1. 0
    12
      lib/android/app/src/test/java/com/reactnativenavigation/react/NavigationReactNativeHostTest.java

+ 0
- 12
lib/android/app/src/test/java/com/reactnativenavigation/react/NavigationReactNativeHostTest.java Целия файл

@@ -26,16 +26,4 @@ public class NavigationReactNativeHostTest extends BaseTest {
26 26
         NavigationReactNativeHost uut = new NavigationReactNativeHost(RuntimeEnvironment.application, false, Collections.singletonList(myPackage));
27 27
         assertThat(uut.getPackages()).hasSize(3).containsOnlyOnce(myPackage);
28 28
     }
29
-
30
-    @Test
31
-    public void getPackages_DoesNotAddDefaultTwice() {
32
-        NavigationReactNativeHost uut = new NavigationReactNativeHost(
33
-                RuntimeEnvironment.application,
34
-                false,
35
-                Arrays.asList(
36
-                        new MainReactPackage(),
37
-                        new MainReactPackage(),
38
-                        new MainReactPackage()));
39
-        assertThat(uut.getPackages()).hasSize(2).extracting("class").containsOnly(MainReactPackage.class, NavigationPackage.class);
40
-    }
41 29
 }