Browse Source

Fix tests

Guy Carmeli 6 years ago
parent
commit
498fdd6104

+ 0
- 12
lib/android/app/src/test/java/com/reactnativenavigation/react/NavigationReactNativeHostTest.java View File

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