Fix LoginActivityTest (#2795)

This commit is contained in:
Adam Jones 2019-03-29 05:57:08 +00:00 committed by Vivek Maskara
parent 031f334c0f
commit 7820ed9d6f

View file

@ -50,7 +50,7 @@ class LoginActivityTest {
@Test
fun testForgotPassword() {
Espresso.onView(ViewMatchers.withId(R.id.forgotPassword))
Espresso.onView(ViewMatchers.withId(R.id.forgot_password))
.perform(ViewActions.click())
Intents.intended(CoreMatchers.allOf(IntentMatchers.hasAction(Intent.ACTION_VIEW), IntentMatchers.hasData(BuildConfig.FORGOT_PASSWORD_URL)));
}