APIv4 - Fix output of membershipType auto_renew field.
authorColeman Watts <coleman@civicrm.org>
Tue, 13 Jul 2021 14:44:29 +0000 (10:44 -0400)
committerColeman Watts <coleman@civicrm.org>
Wed, 14 Jul 2021 18:23:57 +0000 (14:23 -0400)
commit052501990e4cd85b573897425a0667ecf20179a5
treeb8c07c74a61f90315dba87257180f018c252e112
parent1f3f8af087a92d578c52e862f5b858865088144f
APIv4 - Fix output of membershipType auto_renew field.

The field had been declared a "boolean" in the schema, which at a SQL level
is exactly the same as "tinyint" but it was resulting in incorrect API output.
CRM/Member/DAO/MembershipType.php
tests/phpunit/CRM/Member/Form/MembershipRenewalTest.php
tests/phpunit/CRM/Member/Form/MembershipTest.php
tests/phpunit/api/v3/ContributionPageTest.php
xml/schema/Member/MembershipType.xml