new Join Room form that requests authcookie
getting stubbed session #1, with auth module stubbed to accept that session in. and stubbed method for streaming room state, but that's enough to start testing room calling api's for other actions next - pass in observable from parent to re-toggle subscription websocket after successful login
This commit is contained in:
@@ -3,7 +3,7 @@ package industries.sunshine.planningpoker
|
||||
import industries.sunshine.planningpoker.common.Models.*
|
||||
|
||||
object TestModels {
|
||||
val me = Player("wormy", PlayerID(1))
|
||||
val me = Player("me", PlayerID(1))
|
||||
val pony = Player("pony", PlayerID(10))
|
||||
val birdy = Player("birdy", PlayerID(11))
|
||||
val horsey = Player("horsey", PlayerID(12))
|
||||
@@ -17,10 +17,11 @@ object TestModels {
|
||||
round = RoundState.Viewing(
|
||||
List(me.id -> "xs", pony.id -> "l", birdy.id -> "s", horsey.id -> "m")
|
||||
),
|
||||
playersPasswords = Map.empty // nickname into password
|
||||
playersPasswords = Map("me" -> "nickpassword") // nickname into password
|
||||
)
|
||||
|
||||
val testSessions = Map(1L -> (testRoomBackend.id, me.id))
|
||||
val testSessionId = 1L
|
||||
val testSessions = Map(testSessionId -> (testRoomBackend.id, me.id))
|
||||
val testRooms = Map(testRoomBackend.id -> testRoomBackend)
|
||||
|
||||
val testChangesList = List(
|
||||
|
||||
Reference in New Issue
Block a user