mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-04-22 18:00:02 +01:00
Add small amount of unit testing for MessageContentProcessor.
This commit is contained in:
committed by
Cody Henthorne
parent
d1df069669
commit
16cbc971a5
@@ -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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user