Skip to content

Commit 8da65a3

Browse files
Duy PhạmDuy Phạm
authored andcommitted
Remove unused code and imports in BaseW3WMapManagerTest
1 parent 75719d1 commit 8da65a3

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

lib-compose/src/test/java/com/what3words/map/components/compose/BaseW3WMapManagerTest.kt

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,12 @@
11
package com.what3words.map.components.compose
22

3-
import android.graphics.PointF
43
import com.google.android.gms.maps.CameraUpdateFactory
54
import com.what3words.components.compose.maps.MapProvider
65
import com.what3words.components.compose.maps.W3WMapManager
7-
import com.what3words.components.compose.maps.models.W3WMapProjection
86
import com.what3words.components.compose.maps.state.W3WButtonsState
97
import com.what3words.components.compose.maps.state.W3WMapState
108
import com.what3words.components.compose.maps.state.camera.W3WCameraState
119
import com.what3words.core.datasource.text.W3WTextDataSource
12-
import io.mockk.coEvery
1310
import io.mockk.mockk
1411
import io.mockk.unmockkStatic
1512
import kotlinx.coroutines.Dispatchers
@@ -44,9 +41,6 @@ open class BaseW3WMapManagerTest {
4441
).apply {
4542
setTextDataSource(textDataSource)
4643
}
47-
48-
// Mock CameraUpdateFactory's behavior
49-
coEvery { cameraStateMock.moveToPosition(any(), any(), any(), any(), any()) } returns Unit
5044
}
5145

5246
@OptIn(ExperimentalCoroutinesApi::class)

0 commit comments

Comments
 (0)