Fix tests

This commit is contained in:
Thiago Youssef 2022-07-20 09:49:54 -03:00 committed by olegphenomenon
parent 59fe7dffbe
commit 057f026cc0
2 changed files with 19 additions and 4 deletions

View file

@ -72,7 +72,8 @@ module Api
contact.disclosed_attributes = disclosed_attributes
end
contact.registrant_publishable = reparsed_request_json[:registrant_publishable]
publishable = reparsed_request_json[:registrant_publishable]
contact.registrant_publishable = publishable if publishable.in? [true, false]
logger.debug "Setting.address_processing is set to #{Setting.address_processing}"