Skip to content

Commit

Permalink
Remove unnecessary PERMISSION_DENIED_APP_OP test
Browse files Browse the repository at this point in the history
  • Loading branch information
ArnasSmicius committed Sep 19, 2023
1 parent b15df25 commit 026314f
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions library/src/test/java/com/vinted/coper/CoperImplTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -666,16 +666,6 @@ class CoperImplTest {
assertFalse(isGranted)
}

@Test
@Config(sdk = [23, 27])
fun isPermissionsGranted_permissionsNotGrantedByOp_returnsFalse() = runTest {
mockCheckPermissions("not_granted_op", PermissionChecker.PERMISSION_DENIED_APP_OP)

val isGranted = fixture.isPermissionsGrantedSafe("not_granted_op")

assertFalse(isGranted)
}

@Test
@Config(sdk = [23, 27])
fun isPermissionsGranted_permissionsGranted_returnsTrue() = runTest {
Expand Down

0 comments on commit 026314f

Please sign in to comment.