Skip to content
Snippets Groups Projects
Commit 9a608784 authored by Pierre Nicolas's avatar Pierre Nicolas :joy:
Browse files

tests: cleanup

Remove unneeded variable.
Fix spelling mistake on comment.

Change-Id: I10fdcc31199da10860d8f74a70ca2681783ec819
parent eeb5a21c
No related branches found
No related tags found
No related merge requests found
......@@ -70,8 +70,6 @@ class AddContact {
GrantPermissionRule.grant(android.Manifest.permission.POST_NOTIFICATIONS)
companion object {
@JvmStatic
private var accountsCreated = false
@JvmStatic // Account A will be the one sending the trust request.
private var accountA: Account? = null
......@@ -132,8 +130,6 @@ class AddContact {
fakeDConversation,
accountDUri
)
accountsCreated = true // To not redo account creation for every test.
}
}
......@@ -349,7 +345,7 @@ class AddContact {
onView(withId(R.id.menu_overflow)).perform(click())
// Click on account settings
// Don't know wht but doesn't work to select by ID.
// Don't know why but doesn't work to select by ID.
val accountSettingString = InstrumentationRegistry.getInstrumentation().targetContext
.getString(R.string.menu_item_account_settings)
onView(allOf(withText(accountSettingString), isDisplayed())).perform(click())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment