feature(space): fix space tests compilation
This commit is contained in:
parent
199acc4c4d
commit
adb4828da4
2 changed files with 3 additions and 3 deletions
|
|
@ -29,7 +29,7 @@ import org.junit.Test
|
|||
class LeaveSpacePresenterTest {
|
||||
private val aSpace = aSpaceRoom(
|
||||
roomId = A_SPACE_ID,
|
||||
name = A_SPACE_NAME,
|
||||
rawName = A_SPACE_NAME,
|
||||
)
|
||||
|
||||
@Test
|
||||
|
|
@ -198,7 +198,7 @@ class LeaveSpacePresenterTest {
|
|||
private fun aLeaveSpaceRoom(
|
||||
spaceRoom: SpaceRoom = aSpaceRoom(
|
||||
roomId = A_SPACE_ID,
|
||||
name = A_SPACE_NAME,
|
||||
rawName = A_SPACE_NAME,
|
||||
),
|
||||
isLastAdmin: Boolean = false,
|
||||
) = LeaveSpaceRoom(
|
||||
|
|
|
|||
|
|
@ -52,7 +52,7 @@ class SpaceViewTest {
|
|||
|
||||
@Test
|
||||
fun `clicking on a room name invokes the expected callback`() {
|
||||
val aSpaceRoom = aSpaceRoom(roomId = A_ROOM_ID, name = A_ROOM_NAME)
|
||||
val aSpaceRoom = aSpaceRoom(roomId = A_ROOM_ID, rawName = A_ROOM_NAME)
|
||||
val eventsRecorder = EventsRecorder<SpaceEvents>(expectEvents = false)
|
||||
ensureCalledOnceWithParam(aSpaceRoom) {
|
||||
rule.setSpaceView(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue