Skip to content

Commit

Permalink
chore: bring back architecture test after being ignored (#2432)
Browse files Browse the repository at this point in the history
* chore: bring back architecture test after being ignored (#2431)

* Empty-Commit

* remove un-needed changes

* chore: reenable test

---------

Co-authored-by: Yamil Medina <[email protected]>
Co-authored-by: Mojtaba Chenani <[email protected]>
  • Loading branch information
3 people authored Feb 7, 2024
1 parent b314e21 commit a7687dc
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see http://www.gnu.org/licenses/.
*/
@file:Suppress("konsist.repositoriesShouldNotAccessFeaturePackageClasses")

package com.wire.kalium.logic.data.call

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ interface MLSConversationRepository {
certificateChain: String,
isNewClient: Boolean = false
): Either<CoreFailure, Unit>

suspend fun getClientIdentity(clientId: ClientId): Either<CoreFailure, WireIdentity>
suspend fun getUserIdentity(userId: UserId): Either<CoreFailure, List<WireIdentity>>
suspend fun getMembersIdentities(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ package com.wire.kalium.logic.architecture
import com.lemonappdev.konsist.api.Konsist
import com.lemonappdev.konsist.api.ext.list.withPackage
import com.lemonappdev.konsist.api.verify.assertFalse
import kotlin.test.Ignore
import kotlin.test.Test

class LayerAccessRulesTest {
Expand All @@ -31,8 +30,6 @@ class LayerAccessRulesTest {
val importsFromNetworkLayer = ".*?(\\.|)network(\\..*|\\n)".toRegex()
}

//todo: fix later
@Ignore
@Test
fun repositoriesShouldNotAccessFeaturePackageClasses() {
Konsist.scopeFromProduction()
Expand Down

0 comments on commit a7687dc

Please sign in to comment.