@@ -4148,7 +4148,9 @@ list_deprecated_features_test(Config) ->
41484148 ? assertEqual (<<" permitted_by_default" >>, maps :get (deprecation_phase , Feature )),
41494149 ? assertEqual (atom_to_binary (? MODULE ), maps :get (provided_by , Feature )),
41504150 ? assertEqual (list_to_binary (Desc ), maps :get (desc , Feature )),
4151- ? assertEqual (list_to_binary (DocUrl ), maps :get (doc_url , Feature )).
4151+ ? assertEqual (list_to_binary (DocUrl ), maps :get (doc_url , Feature )),
4152+ ? assert (maps :is_key (state , Feature )),
4153+ ? assert (lists :member (maps :get (state , Feature ), [<<" permitted" >>, <<" denied" >>])).
41524154
41534155list_used_deprecated_features_test (Config ) ->
41544156 Desc = " This is a deprecated feature in use" ,
@@ -4169,7 +4171,8 @@ list_used_deprecated_features_test(Config) ->
41694171 ? assertEqual (<<" removed" >>, maps :get (deprecation_phase , Feature )),
41704172 ? assertEqual (atom_to_binary (? MODULE ), maps :get (provided_by , Feature )),
41714173 ? assertEqual (list_to_binary (Desc ), maps :get (desc , Feature )),
4172- ? assertEqual (list_to_binary (DocUrl ), maps :get (doc_url , Feature )).
4174+ ? assertEqual (list_to_binary (DocUrl ), maps :get (doc_url , Feature )),
4175+ ? assertNot (maps :is_key (state , Feature )).
41734176
41744177cluster_and_node_tags_test (Config ) ->
41754178 Overview = http_get (Config , " /overview" ),
0 commit comments