Next try to fix test: Remove obsolet line

This commit is contained in:
swissalpine 2023-11-27 02:44:07 +01:00 committed by GitHub
parent 3f59d4eb66
commit bc5facc623
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,7 +10,6 @@ import app.aaps.core.interfaces.iob.IobTotal
import app.aaps.core.interfaces.logging.UserEntryLogger import app.aaps.core.interfaces.logging.UserEntryLogger
import app.aaps.core.interfaces.profile.Profile import app.aaps.core.interfaces.profile.Profile
import app.aaps.core.interfaces.profile.ProfileFunction import app.aaps.core.interfaces.profile.ProfileFunction
import app.aaps.core.interfaces.profile.ProfileUtil
import app.aaps.core.interfaces.pump.DetailedBolusInfo import app.aaps.core.interfaces.pump.DetailedBolusInfo
import app.aaps.core.interfaces.queue.CommandQueue import app.aaps.core.interfaces.queue.CommandQueue
import app.aaps.core.interfaces.sharedPreferences.SP import app.aaps.core.interfaces.sharedPreferences.SP
@ -57,7 +56,6 @@ class LoopHubTest: TestBase() {
@Mock lateinit var userEntryLogger: UserEntryLogger @Mock lateinit var userEntryLogger: UserEntryLogger
@Mock lateinit var sp: SP @Mock lateinit var sp: SP
@Mock lateinit var overviewData: OverviewData @Mock lateinit var overviewData: OverviewData
@Mock lateinit var profileUtil: ProfileUtil
private lateinit var loopHub: LoopHubImpl private lateinit var loopHub: LoopHubImpl
private val clock = Clock.fixed(Instant.ofEpochMilli(10_000), ZoneId.of("UTC")) private val clock = Clock.fixed(Instant.ofEpochMilli(10_000), ZoneId.of("UTC"))
@ -81,7 +79,6 @@ class LoopHubTest: TestBase() {
verifyNoMoreInteractions(repo) verifyNoMoreInteractions(repo)
verifyNoMoreInteractions(userEntryLogger) verifyNoMoreInteractions(userEntryLogger)
verifyNoMoreInteractions(overviewData) verifyNoMoreInteractions(overviewData)
verifyNoMoreInteractions(profileUtil)
} }
@Test @Test