Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
hg42 committed Sep 27, 2024
1 parent fe62aea commit 3c32025
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/androidTest/kotlin/tests/Test_ignoredPackages.kt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package tests.tests

import com.machiav3lli.backup.actions.BaseAppAction.Companion.doNotStop
import com.machiav3lli.backup.actions.BaseAppAction.Companion.ignoredPackages
import com.machiav3lli.backup.utils.SystemUtils
import org.junit.Assert.assertFalse
import org.junit.Assert.assertTrue
import org.junit.Test
Expand Down Expand Up @@ -40,7 +41,7 @@ class Test_ignoredPackages {

@Test
fun test_doNotStop_matchesOwnPackage() {
val packageName = com.machiav3lli.backup.SystemUtils.packageName // use explicit BuildConfig
val packageName = SystemUtils.packageName // use explicit BuildConfig
assertTrue(
"does not match: $packageName",
packageName.matches(doNotStop)
Expand Down

0 comments on commit 3c32025

Please sign in to comment.