Skip to content
This repository was archived by the owner on Oct 15, 2024. It is now read-only.

Commit d034da8

Browse files
committed
Fix tests for #778
And this is why you rebase your PRs before merging :^) Signed-off-by: Harsh Shandilya <[email protected]>
1 parent 90750b9 commit d034da8

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

app/src/androidTest/java/com/zeapo/pwdstore/git/GitServerConfigActivityTest.kt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
package com.zeapo.pwdstore.git
77

88
import android.view.View
9-
import android.widget.RadioGroup
109
import androidx.test.espresso.Espresso.onView
1110
import androidx.test.espresso.UiController
1211
import androidx.test.espresso.ViewAction
@@ -103,7 +102,7 @@ class GitServerConfigActivityTest {
103102
onView(withId(R.id.clone_protocol_group)).perform(callMethod<MaterialButtonToggleGroup> {
104103
it.check(R.id.clone_protocol_https)
105104
})
106-
onView(withId(R.id.connection_mode_group)).perform(callMethod<RadioGroup> {
105+
onView(withId(R.id.connection_mode_group)).perform(callMethod<MaterialButtonToggleGroup> {
107106
it.check(R.id.connection_mode_password)
108107
})
109108
onView(withId(R.id.server_path)).perform(replaceText("john_doe/my_secret_repository"))
@@ -116,7 +115,7 @@ class GitServerConfigActivityTest {
116115
onView(withId(R.id.clone_protocol_group)).perform(callMethod<MaterialButtonToggleGroup> {
117116
it.check(R.id.clone_protocol_ssh)
118117
})
119-
onView(withId(R.id.connection_mode_group)).perform(callMethod<RadioGroup> {
118+
onView(withId(R.id.connection_mode_group)).perform(callMethod<MaterialButtonToggleGroup> {
120119
it.check(R.id.connection_mode_ssh_key)
121120
})
122121
onView(withId(R.id.server_path)).perform(replaceText("john_doe/my_secret_repository"))

0 commit comments

Comments
 (0)