Skip to content

Commit 2e04640

Browse files
committed
fix test error
1 parent f129e31 commit 2e04640

File tree

1 file changed

+1
-1
lines changed
  • packages/react-native/ReactAndroid/src/test/java/com/facebook/react

1 file changed

+1
-1
lines changed

packages/react-native/ReactAndroid/src/test/java/com/facebook/react/RootViewTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ class RootViewTest {
213213
.build()
214214
}
215215
val rootViewSpy = spy(rootView)
216-
whenever(rootViewSpy.getWindowLayoutParams()).thenReturn(WindowManager.LayoutParams())
216+
whenever(rootViewSpy.getLayoutParams()).thenReturn(WindowManager.LayoutParams())
217217

218218
rootViewSpy.startReactApplication(instanceManager, "")
219219
rootViewSpy.simulateCheckForKeyboardForTesting()

0 commit comments

Comments
 (0)