User should not be required to enter credit card information for free events or events discounted to $0 with codes
I believe this is a regression, not sure if it's core or CiviDiscount. If an event requires no payment due to it being free or with a discount that brings the cost to $0, they should not be required to enter a credit card to complete registration.