mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-04 01:19:33 +00:00
Fix test compilation issue.
This commit is contained in:
@@ -218,7 +218,6 @@ class LoggedInPresenterTest {
|
|||||||
val pushProvider = FakePushProvider(
|
val pushProvider = FakePushProvider(
|
||||||
index = 1,
|
index = 1,
|
||||||
name = "aFakePushProvider0",
|
name = "aFakePushProvider0",
|
||||||
isAvailable = true,
|
|
||||||
distributors = listOf(
|
distributors = listOf(
|
||||||
Distributor("aDistributorValue0", "aDistributorName0"),
|
Distributor("aDistributorValue0", "aDistributorName0"),
|
||||||
distributor,
|
distributor,
|
||||||
@@ -263,7 +262,6 @@ class LoggedInPresenterTest {
|
|||||||
val pushProvider = FakePushProvider(
|
val pushProvider = FakePushProvider(
|
||||||
index = 0,
|
index = 0,
|
||||||
name = "aFakePushProvider0",
|
name = "aFakePushProvider0",
|
||||||
isAvailable = true,
|
|
||||||
distributors = listOf(
|
distributors = listOf(
|
||||||
Distributor("aDistributorValue0", "aDistributorName0"),
|
Distributor("aDistributorValue0", "aDistributorName0"),
|
||||||
Distributor("aDistributorValue1", "aDistributorName1"),
|
Distributor("aDistributorValue1", "aDistributorName1"),
|
||||||
@@ -308,7 +306,6 @@ class LoggedInPresenterTest {
|
|||||||
val pushProvider = FakePushProvider(
|
val pushProvider = FakePushProvider(
|
||||||
index = 0,
|
index = 0,
|
||||||
name = "aFakePushProvider0",
|
name = "aFakePushProvider0",
|
||||||
isAvailable = true,
|
|
||||||
distributors = emptyList(),
|
distributors = emptyList(),
|
||||||
)
|
)
|
||||||
val pushService = createFakePushService(
|
val pushService = createFakePushService(
|
||||||
@@ -377,7 +374,6 @@ class LoggedInPresenterTest {
|
|||||||
pushProvider0 = FakePushProvider(
|
pushProvider0 = FakePushProvider(
|
||||||
index = 1,
|
index = 1,
|
||||||
name = "aFakePushProvider1",
|
name = "aFakePushProvider1",
|
||||||
isAvailable = true,
|
|
||||||
distributors = emptyList(),
|
distributors = emptyList(),
|
||||||
),
|
),
|
||||||
pushProvider1 = null,
|
pushProvider1 = null,
|
||||||
@@ -407,14 +403,12 @@ class LoggedInPresenterTest {
|
|||||||
pushProvider0: PushProvider? = FakePushProvider(
|
pushProvider0: PushProvider? = FakePushProvider(
|
||||||
index = 0,
|
index = 0,
|
||||||
name = "aFakePushProvider0",
|
name = "aFakePushProvider0",
|
||||||
isAvailable = true,
|
|
||||||
distributors = listOf(Distributor("aDistributorValue0", "aDistributorName0")),
|
distributors = listOf(Distributor("aDistributorValue0", "aDistributorName0")),
|
||||||
currentDistributor = { null },
|
currentDistributor = { null },
|
||||||
),
|
),
|
||||||
pushProvider1: PushProvider? = FakePushProvider(
|
pushProvider1: PushProvider? = FakePushProvider(
|
||||||
index = 1,
|
index = 1,
|
||||||
name = "aFakePushProvider1",
|
name = "aFakePushProvider1",
|
||||||
isAvailable = true,
|
|
||||||
distributors = listOf(Distributor("aDistributorValue1", "aDistributorName1")),
|
distributors = listOf(Distributor("aDistributorValue1", "aDistributorName1")),
|
||||||
currentDistributor = { null },
|
currentDistributor = { null },
|
||||||
),
|
),
|
||||||
|
|||||||
-2
@@ -302,13 +302,11 @@ class NotificationSettingsPresenterTest {
|
|||||||
val pushProvider1 = FakePushProvider(
|
val pushProvider1 = FakePushProvider(
|
||||||
index = 0,
|
index = 0,
|
||||||
name = "aFakePushProvider0",
|
name = "aFakePushProvider0",
|
||||||
isAvailable = true,
|
|
||||||
distributors = listOf(Distributor("aDistributorValue0", "aDistributorName0")),
|
distributors = listOf(Distributor("aDistributorValue0", "aDistributorName0")),
|
||||||
)
|
)
|
||||||
val pushProvider2 = FakePushProvider(
|
val pushProvider2 = FakePushProvider(
|
||||||
index = 1,
|
index = 1,
|
||||||
name = "aFakePushProvider1",
|
name = "aFakePushProvider1",
|
||||||
isAvailable = true,
|
|
||||||
distributors = listOf(Distributor("aDistributorValue1", "aDistributorName1")),
|
distributors = listOf(Distributor("aDistributorValue1", "aDistributorName1")),
|
||||||
)
|
)
|
||||||
return FakePushService(
|
return FakePushService(
|
||||||
|
|||||||
Reference in New Issue
Block a user