Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Balcan committed Dec 10, 2024
1 parent 0df9357 commit d5f2187
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ import org.mockito.kotlin.doReturn
import org.mockito.kotlin.mock
import java.text.SimpleDateFormat
import java.util.Date
import org.dhis2.usescases.eventsWithoutRegistration.eventDetails.domain.ConfigurePeriodSelector

class EventInitialTest {

Expand Down Expand Up @@ -170,6 +171,8 @@ class EventInitialTest {

private fun createGeometryController() = GeometryController(GeometryParserImpl())

private val configurePeriodSelector: ConfigurePeriodSelector = mock()

companion object {
const val ENROLLMENT_UID = "enrollmentUid"
const val PROGRAM_UID = "programUid"
Expand Down Expand Up @@ -207,6 +210,7 @@ class EventInitialTest {
locationProvider = locationProvider,
createOrUpdateEventDetails = createOrUpdateEventDetails(),
resourcesProvider = provideEventResourcesProvider(),
configurePeriodSelector = configurePeriodSelector
)

@Test
Expand Down

0 comments on commit d5f2187

Please sign in to comment.