Skip to content

Commit

Permalink
Update SyncRepoTest.kt
Browse files Browse the repository at this point in the history
  • Loading branch information
amberin authored Jul 29, 2024
1 parent 78500e8 commit 303b9d1
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import com.orgzly.BuildConfig
import com.orgzly.R
import com.orgzly.android.BookName
import com.orgzly.android.OrgzlyTest
import com.orgzly.android.RetryTestRule
import com.orgzly.android.db.entity.BookView
import com.orgzly.android.db.entity.Repo
import com.orgzly.android.espresso.DocumentRepoTest
Expand Down Expand Up @@ -85,6 +86,10 @@ class SyncRepoTest(private val param: Parameter) : OrgzlyTest() {
val RANDOM_UUID = UUID.randomUUID().toString()
}

@Rule
@JvmField
val mRetryTestRule = RetryTestRule()

override fun tearDown() {
super.tearDown()
if (this::repo.isInitialized) {
Expand Down

0 comments on commit 303b9d1

Please sign in to comment.