aboutsummaryrefslogtreecommitdiff
path: root/src/test/scala/xyz/driver/core/AuthTest.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/scala/xyz/driver/core/AuthTest.scala')
-rw-r--r--src/test/scala/xyz/driver/core/AuthTest.scala4
1 files changed, 3 insertions, 1 deletions
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])