Base solution for your next web application
Open Closed

How to set a feature to false in test project #8995


User avatar
0
OriAssurant created

Hi Abp Zero,

We have a custom feature AppFeatures.EnableUserVisibilityRules, and I would like to make the feature value to be false when running the test project. Is there a way to do it?

context.Create( AppFeatures.EnableUserVisibilityRules, defaultValue: "true", displayName: L("EnableUserVisibilityRules"), inputType: new CheckboxInputType() );

Thank you,


2 Answer(s)