@@ -4218,7 +4218,9 @@ list_deprecated_features_test(Config) ->
42184218 ? assertEqual (<<" permitted_by_default" >>, maps :get (deprecation_phase , Feature )),
42194219 ? assertEqual (atom_to_binary (? MODULE ), maps :get (provided_by , Feature )),
42204220 ? assertEqual (list_to_binary (Desc ), maps :get (desc , Feature )),
4221- ? assertEqual (list_to_binary (DocUrl ), maps :get (doc_url , Feature )).
4221+ ? assertEqual (list_to_binary (DocUrl ), maps :get (doc_url , Feature )),
4222+ ? assert (maps :is_key (state , Feature )),
4223+ ? assert (lists :member (maps :get (state , Feature ), [<<" permitted" >>, <<" denied" >>])).
42224224
42234225list_used_deprecated_features_test (Config ) ->
42244226 Desc = " This is a deprecated feature in use" ,
@@ -4239,7 +4241,8 @@ list_used_deprecated_features_test(Config) ->
42394241 ? assertEqual (<<" removed" >>, maps :get (deprecation_phase , Feature )),
42404242 ? assertEqual (atom_to_binary (? MODULE ), maps :get (provided_by , Feature )),
42414243 ? assertEqual (list_to_binary (Desc ), maps :get (desc , Feature )),
4242- ? assertEqual (list_to_binary (DocUrl ), maps :get (doc_url , Feature )).
4244+ ? assertEqual (list_to_binary (DocUrl ), maps :get (doc_url , Feature )),
4245+ ? assertNot (maps :is_key (state , Feature )).
42434246
42444247cluster_and_node_tags_test (Config ) ->
42454248 Overview = http_get (Config , " /overview" ),
0 commit comments