diff options
Diffstat (limited to 'src/test/scala/xyz/driver/core/AuthTest.scala')
-rw-r--r-- | src/test/scala/xyz/driver/core/AuthTest.scala | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/test/scala/xyz/driver/core/AuthTest.scala b/src/test/scala/xyz/driver/core/AuthTest.scala index 1a483b9..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 @@ -56,11 +57,11 @@ class AuthTest extends FlatSpec with Matchers with ScalatestRouteTest { Some( AuthTokenUserInfo( Id[User]("1"), - authUserId = Id[AuthUser]("2"), Email("foo", "bar"), emailVerified = true, audience = "driver", - roles = Set(TestRole) + roles = Set(TestRole), + expirationTime = Time(1000000L) ))) } else { Future.successful(Option.empty[User]) |