File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
app/src/test/java/io/github/sds100/keymapper/mappings/keymaps Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ class KeyMapControllerTest {
111111 private const val HOLD_DOWN_DURATION = 1000L
112112
113113 private val TEST_ACTION : Action = Action (
114- data = ActionData .Flashlight .Toggle (CameraLens .BACK ),
114+ data = ActionData .Flashlight .Toggle (CameraLens .BACK , strengthPercent = null ),
115115 )
116116
117117 private val TEST_ACTION_2 : Action = Action (
@@ -1098,7 +1098,7 @@ class KeyMapControllerTest {
10981098 @Test
10991099 fun `Long press trigger shouldn't be triggered if the constraints are changed by the actions` () = runTest(testDispatcher) {
11001100 // GIVEN
1101- val actionData = ActionData .Flashlight .Toggle (CameraLens .BACK )
1101+ val actionData = ActionData .Flashlight .Toggle (CameraLens .BACK , strengthPercent = null )
11021102
11031103 val keyMap = KeyMap (
11041104 trigger = singleKeyTrigger(
You can’t perform that action at this time.
0 commit comments