These are chat archives for lift/framework

24th
May 2017
Ari Gold
@arigoldx
May 24 01:19
so. i changed val currentReq = S.request.map(_.snapshot) to val currentReq = S.request.filter(_.request != null).map(_.snapshot) which leads me to belive that in order to test i need to mock a S.request which is null.
maybe something like
      val session = new LiftSession("Test Session", "", Empty)

      S.init(Empty, session) {
(tryin’)
Ari Gold
@arigoldx
May 24 04:25
hm.. i’m thinking i can just do the FutureWithSession.withCurrentSession bit. let’s see.