@@ -4228,7 +4228,9 @@ list_deprecated_features_test(Config) ->
42284228 ? assertEqual (<<" permitted_by_default" >>, maps :get (deprecation_phase , Feature )),
42294229 ? assertEqual (atom_to_binary (? MODULE ), maps :get (provided_by , Feature )),
42304230 ? assertEqual (list_to_binary (Desc ), maps :get (desc , Feature )),
4231- ? assertEqual (list_to_binary (DocUrl ), maps :get (doc_url , Feature )).
4231+ ? assertEqual (list_to_binary (DocUrl ), maps :get (doc_url , Feature )),
4232+ ? assert (maps :is_key (state , Feature )),
4233+ ? assert (lists :member (maps :get (state , Feature ), [<<" permitted" >>, <<" denied" >>])).
42324234
42334235list_used_deprecated_features_test (Config ) ->
42344236 Desc = " This is a deprecated feature in use" ,
@@ -4249,7 +4251,8 @@ list_used_deprecated_features_test(Config) ->
42494251 ? assertEqual (<<" removed" >>, maps :get (deprecation_phase , Feature )),
42504252 ? assertEqual (atom_to_binary (? MODULE ), maps :get (provided_by , Feature )),
42514253 ? assertEqual (list_to_binary (Desc ), maps :get (desc , Feature )),
4252- ? assertEqual (list_to_binary (DocUrl ), maps :get (doc_url , Feature )).
4254+ ? assertEqual (list_to_binary (DocUrl ), maps :get (doc_url , Feature )),
4255+ ? assertNot (maps :is_key (state , Feature )).
42534256
42544257cluster_and_node_tags_test (Config ) ->
42554258 Overview = http_get (Config , " /overview" ),
0 commit comments