Stabilize AccountServiceSpec (#3670)

This commit is contained in:
Naoki Takezoe
2024-12-21 18:50:34 +09:00
committed by GitHub
parent 3a0cd5df62
commit a5a2e4732d

View File

@@ -38,6 +38,7 @@ class AccountServiceSpec extends AnyFunSuite with ServiceSpecBase {
assert(user().lastLoginDate.isEmpty)
val date1 = new Date
Thread.sleep(1000)
AccountService.updateLastLoginDate(root)
assert(user().lastLoginDate.get.compareTo(date1) > 0)