mirror of
https://codeberg.org/timelimit/timelimit-android.git
synced 2025-10-03 01:39:22 +02:00
Adjust tests so that the App compiles
This commit is contained in:
parent
6f91862fed
commit
8fb102390f
1 changed files with 5 additions and 7 deletions
|
@ -16,11 +16,10 @@
|
|||
package io.timelimit.android.sync.actions
|
||||
|
||||
import io.timelimit.android.data.model.AppRecommendation
|
||||
import io.timelimit.android.data.model.DevicePlatform
|
||||
import io.timelimit.android.integration.platform.NewPermissionStatus
|
||||
import io.timelimit.android.integration.platform.ProtectionLevel
|
||||
import io.timelimit.android.integration.platform.RuntimePermissionStatus
|
||||
import io.timelimit.android.sync.network.ParentPassword
|
||||
import org.json.JSONObject
|
||||
import org.junit.Test
|
||||
|
||||
class Actions {
|
||||
|
@ -87,7 +86,9 @@ class Actions {
|
|||
newNotificationAccessPermission = NewPermissionStatus.Granted,
|
||||
newOverlayPermission = RuntimePermissionStatus.NotRequired,
|
||||
newUsageStatsPermissionStatus = RuntimePermissionStatus.NotGranted,
|
||||
addedManipulationFlags = 0L
|
||||
addedManipulationFlags = 0L,
|
||||
newPlatformType = DevicePlatform.ANDROID,
|
||||
newPlatformLevel = 0
|
||||
),
|
||||
TriedDisablingDeviceAdminAction
|
||||
)
|
||||
|
@ -101,10 +102,7 @@ class Actions {
|
|||
)
|
||||
|
||||
private val childActions: List<ChildAction> = listOf(
|
||||
ChildSignInAction,
|
||||
ChildChangePasswordAction(
|
||||
password = ParentPassword.createSync("test")
|
||||
)
|
||||
ChildSignInAction
|
||||
)
|
||||
|
||||
@Test
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue