Skip to content

Commit

Permalink
Fix nit
Browse files Browse the repository at this point in the history
  • Loading branch information
Rawa committed Dec 20, 2024
1 parent 5836f76 commit 39388cf
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import org.junit.jupiter.api.Test
class FilterChipUseCaseTest {

private val mockRelayListFilterRepository: RelayListFilterRepository = mockk()
private val mockProvidersOwnershipUseCase: ProviderToOwnershipsUseCase = mockk()
private val mockProviderToOwnershipsUseCase: ProviderToOwnershipsUseCase = mockk()
private val mockSettingRepository: SettingsRepository = mockk()
private val mockWireguardConstraintsRepository: WireguardConstraintsRepository = mockk()

Expand All @@ -38,15 +38,15 @@ class FilterChipUseCaseTest {
fun setUp() {
every { mockRelayListFilterRepository.selectedOwnership } returns selectedOwnership
every { mockRelayListFilterRepository.selectedProviders } returns selectedProviders
every { mockProvidersOwnershipUseCase() } returns providerToOwnerships
every { mockProviderToOwnershipsUseCase() } returns providerToOwnerships
every { mockSettingRepository.settingsUpdates } returns settings
every { mockWireguardConstraintsRepository.wireguardConstraints } returns
wireguardConstraints

filterChipUseCase =
FilterChipUseCase(
relayListFilterRepository = mockRelayListFilterRepository,
providerToOwnershipsUseCase = mockProvidersOwnershipUseCase,
providerToOwnershipsUseCase = mockProviderToOwnershipsUseCase,
settingsRepository = mockSettingRepository,
wireguardConstraintsRepository = mockWireguardConstraintsRepository,
)
Expand Down

0 comments on commit 39388cf

Please sign in to comment.