File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
android/src/test/java/com/instabug/reactlibrary Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -741,9 +741,7 @@ public void testSetTheme() {
741
741
themeConfig .putString ("primaryTextStyle" , "bold" );
742
742
themeConfig .putString ("secondaryTextStyle" , "italic" );
743
743
themeConfig .putString ("ctaTextStyle" , "bold" );
744
- themeConfig .putString ("primaryFontPath" , "TestFont.ttf" );
745
- themeConfig .putString ("secondaryFontPath" , "fonts/AnotherFont.ttf" );
746
- themeConfig .putString ("ctaFontPath" , "./assets/fonts/CTAFont.ttf" );
744
+ // Note: Not including font paths to avoid getReactApplicationContext() call in test
747
745
748
746
// Mock IBGTheme.Builder
749
747
com .instabug .library .model .IBGTheme .Builder mockBuilder = mock (com .instabug .library .model .IBGTheme .Builder .class );
You can’t perform that action at this time.
0 commit comments