From 59b832c4638457f653b8c1ad5e254bb361349ade Mon Sep 17 00:00:00 2001 From: Longze Chen Date: Fri, 26 Jan 2024 11:03:03 -0500 Subject: [PATCH] Cedar metadata record remains visible for withdrawn registrations --- api_tests/base/test_serializers.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/api_tests/base/test_serializers.py b/api_tests/base/test_serializers.py index d523263b582..dd57baf4346 100644 --- a/api_tests/base/test_serializers.py +++ b/api_tests/base/test_serializers.py @@ -194,7 +194,9 @@ def test_registration_serializer(self): 'current_user_is_contributor_or_group_member', 'preprint', 'subjects', - 'wiki_enabled'] + 'wiki_enabled', + 'cedar_metadata_records', + ] # fields that do not appear on registrations non_registration_fields = ['registrations', 'draft_registrations', 'templated_by_count', 'settings', 'storage', 'children', 'groups']