From becf2c5087a3a9c3b4b9385239cc35b7d05a24c4 Mon Sep 17 00:00:00 2001 From: Zach Smith Date: Mon, 22 Jan 2018 12:04:53 -0800 Subject: Add expirationTime to AuthTokenUserInfo --- src/test/scala/xyz/driver/core/AuthTest.scala | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/test') diff --git a/src/test/scala/xyz/driver/core/AuthTest.scala b/src/test/scala/xyz/driver/core/AuthTest.scala index b8cb5d0..6e5862a 100644 --- a/src/test/scala/xyz/driver/core/AuthTest.scala +++ b/src/test/scala/xyz/driver/core/AuthTest.scala @@ -12,6 +12,7 @@ import xyz.driver.core.domain.Email import xyz.driver.core.logging._ import xyz.driver.core.rest._ import xyz.driver.core.rest.auth._ +import xyz.driver.core.time.Time import scala.concurrent.Future import scalaz.OptionT @@ -59,7 +60,8 @@ class AuthTest extends FlatSpec with Matchers with ScalatestRouteTest { Email("foo", "bar"), emailVerified = true, audience = "driver", - roles = Set(TestRole) + roles = Set(TestRole), + expirationTime = Time(1000000L) ))) } else { Future.successful(Option.empty[User]) -- cgit v1.2.3