diff options
author | Zach Smith <zach@driver.xyz> | 2018-01-22 12:04:53 -0800 |
---|---|---|
committer | Zach Smith <zach@driver.xyz> | 2018-01-25 09:45:52 -0800 |
commit | becf2c5087a3a9c3b4b9385239cc35b7d05a24c4 (patch) | |
tree | baa75a6a1e19e79e1ae0fc695dcf8cef029a5c7e /src/test | |
parent | 2c4bf73f0aa22801c6a6d79088abefbfc9deeaad (diff) | |
download | driver-core-becf2c5087a3a9c3b4b9385239cc35b7d05a24c4.tar.gz driver-core-becf2c5087a3a9c3b4b9385239cc35b7d05a24c4.tar.bz2 driver-core-becf2c5087a3a9c3b4b9385239cc35b7d05a24c4.zip |
Add expirationTime to AuthTokenUserInfo
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/scala/xyz/driver/core/AuthTest.scala | 4 |
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]) |