fix wrong rename

This commit is contained in:
Matthieu 2021-04-22 12:01:10 +02:00
parent 1ce5c54055
commit d75e349070
1 changed files with 2 additions and 2 deletions

View File

@ -88,7 +88,7 @@ class CameraTest {
val scenario = launchFragmentInContainer<CameraFragment>()
scenario.onFragment { fragment ->
fragment.view?.findViewById<ImageButton>(_root_ide_package_.org.pixeldroid.app.R.id.photo_view_button)?.performClick()
fragment.view?.findViewById<ImageButton>(R.id.photo_view_button)?.performClick()
}
Thread.sleep(1000)
@ -99,7 +99,7 @@ class CameraTest {
fun switchButton() {
val scenario = launchFragmentInContainer<CameraFragment>()
scenario.onFragment { fragment ->
fragment.view?.findViewById<ImageButton>(_root_ide_package_.org.pixeldroid.app.R.id.camera_switch_button)?.performClick()
fragment.view?.findViewById<ImageButton>(R.id.camera_switch_button)?.performClick()
}
Thread.sleep(1000)