Skip to content

Commit

Permalink
Fix breaking test
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam Haco committed Jun 16, 2024
1 parent 018c0b3 commit a39399d
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ import com.samco.trackandgraph.base.model.DataPointUpdateHelperImpl
import com.samco.trackandgraph.base.model.DatabaseTransactionHelperImpl
import com.samco.trackandgraph.base.model.RemindersHelperImpl
import com.samco.trackandgraph.base.model.TrackerHelperImpl
import com.samco.trackandgraph.base.service.ServiceManager
import com.samco.trackandgraph.base.service.TimerServiceInteractor
import com.samco.trackandgraph.base.system.AlarmManagerWrapperImpl
import com.samco.trackandgraph.base.system.ReminderPrefWrapperImpl
import com.samco.trackandgraph.base.system.SystemInfoProviderImpl
Expand All @@ -60,7 +60,7 @@ class DemoDBGenerator {
companion object {
}

private val mockServiceManager = object : ServiceManager {
private val mockServiceManager = object : TimerServiceInteractor {
override fun startTimerNotificationService() {
//Do nothing
}
Expand Down Expand Up @@ -110,7 +110,7 @@ class DemoDBGenerator {
dao = database.trackAndGraphDatabaseDao,
io = Dispatchers.IO
),
serviceManager = mockServiceManager,
timerServiceInteractor = mockServiceManager,
dataSampler = DataSamplerImpl(dao = database.trackAndGraphDatabaseDao)
)

Expand Down

0 comments on commit a39399d

Please sign in to comment.