androidTest: Fix errors introduced by changes of the code

This commit is contained in:
Andrea Torlaschi 2016-06-04 12:45:42 +02:00
parent 6cecb42389
commit 77284a3594
2 changed files with 2 additions and 2 deletions

View file

@ -106,7 +106,7 @@ public class TestHelpers {
if (ring.isSecret()) {
helper.saveSecretKeyRing(ring, new ProgressScaler());
} else {
helper.savePublicKeyRing(ring, new ProgressScaler());
helper.savePublicKeyRing(ring);
}
}

View file

@ -78,7 +78,7 @@ public class EditKeyTest {
.inAdapterView(allOf(isAssignableFrom(AdapterView.class),
isDescendantOfA(ViewMatchers.withId(R.id.key_list_list))))
.perform(click());
onView(withId(R.id.menu_key_view_edit)).perform(click());
onView(withId(R.id.view_key_card_user_ids_edit)).perform(click());
// no-op should yield snackbar
onView(withText(R.string.btn_save)).perform(click());