From c6f65f79f4f14abcb7aa4eb7440a1fa56cbcd11d Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Thu, 3 Oct 2024 12:14:17 +0200 Subject: [PATCH] Fix test name. --- .../impl/timeline/protection/TimelineProtectionStateTest.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/messages/impl/src/test/kotlin/io/element/android/features/messages/impl/timeline/protection/TimelineProtectionStateTest.kt b/features/messages/impl/src/test/kotlin/io/element/android/features/messages/impl/timeline/protection/TimelineProtectionStateTest.kt index 0a05636df1..cc42b4fd9b 100644 --- a/features/messages/impl/src/test/kotlin/io/element/android/features/messages/impl/timeline/protection/TimelineProtectionStateTest.kt +++ b/features/messages/impl/src/test/kotlin/io/element/android/features/messages/impl/timeline/protection/TimelineProtectionStateTest.kt @@ -33,7 +33,7 @@ class TimelineProtectionStateTest { } @Test - fun `when protectionState is RenderOnly with an Event, hideContent always return true`() { + fun `when protectionState is RenderOnly with an Event, hideContent can return true or false`() { val sut = aTimelineProtectionState( protectionState = ProtectionState.RenderOnly(persistentSetOf(AN_EVENT_ID)) )