Add small amount of unit testing for MessageContentProcessor.

This commit is contained in:
Alex Hart
2022-11-03 17:03:10 -03:00
committed by Cody Henthorne
parent d1df069669
commit 16cbc971a5
6 changed files with 272 additions and 1 deletions

View File

@@ -0,0 +1,10 @@
package org.thoughtcrime.securesms.util
/**
* Utility to enable / disable feature flags via forced values.
*/
object FeatureFlagsTestUtil {
fun setStoriesEnabled(isEnabled: Boolean) {
FeatureFlags.FORCED_VALUES[FeatureFlags.STORIES] = isEnabled
}
}