aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'src/test')
-rw-r--r--src/test/java/at/hannibal2/skyhanni/test/garden/VisitorListenerTest.kt3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/java/at/hannibal2/skyhanni/test/garden/VisitorListenerTest.kt b/src/test/java/at/hannibal2/skyhanni/test/garden/VisitorListenerTest.kt
index 8649ef199..f8f952bbe 100644
--- a/src/test/java/at/hannibal2/skyhanni/test/garden/VisitorListenerTest.kt
+++ b/src/test/java/at/hannibal2/skyhanni/test/garden/VisitorListenerTest.kt
@@ -5,6 +5,7 @@ import at.hannibal2.skyhanni.features.garden.GardenAPI
import at.hannibal2.skyhanni.features.garden.visitor.VisitorAPI
import at.hannibal2.skyhanni.features.garden.visitor.VisitorListener
import at.hannibal2.skyhanni.utils.LorenzUtils
+import at.hannibal2.skyhanni.utils.SimpleTimeMark
import io.mockk.every
import io.mockk.mockk
import io.mockk.mockkObject
@@ -70,7 +71,7 @@ class VisitorListenerTest {
mockk { every { visitorName } returns "§fJacob" },
)
- every { LorenzUtils.lastWorldSwitch } returns System.currentTimeMillis()
+ every { LorenzUtils.lastWorldSwitch } returns SimpleTimeMark.now()
listener.onTabListUpdate(
TabListUpdateEvent(