diff options
author | CalMWolfs <94038482+CalMWolfs@users.noreply.github.com> | 2024-03-25 00:46:00 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-24 14:46:00 +0100 |
commit | d6d899e8929e8caeb40e2099d13dd3425129d5e8 (patch) | |
tree | c7e9bdd74f4724f567863aff6ab9e7ce721d89c2 /src/test/java/at/hannibal2/skyhanni | |
parent | 4300af278a7a6f5124c9164998d132774a9f0a9c (diff) | |
download | skyhanni-d6d899e8929e8caeb40e2099d13dd3425129d5e8.tar.gz skyhanni-d6d899e8929e8caeb40e2099d13dd3425129d5e8.tar.bz2 skyhanni-d6d899e8929e8caeb40e2099d13dd3425129d5e8.zip |
Fix: Serverid error (#1262)
Diffstat (limited to 'src/test/java/at/hannibal2/skyhanni')
-rw-r--r-- | src/test/java/at/hannibal2/skyhanni/test/garden/VisitorListenerTest.kt | 3 |
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( |