Make period_type mandatory for MembershipType
authoreileen <emcnaughton@wikimedia.org>
Mon, 7 Sep 2020 02:03:50 +0000 (14:03 +1200)
committereileen <emcnaughton@wikimedia.org>
Wed, 9 Sep 2020 20:06:52 +0000 (08:06 +1200)
commit0524826d4001746250211eb772f6412c5266311a
tree648bbe0aba287668cf4867cf19c9eb1f89cfe08a
parentef2f892ac04c86b9e259b6a5ee5fce85b79eba38
Make period_type mandatory for MembershipType

We have a test ensuring period_type is mandatory at the api level. However, it isn't for api
v4 - the error is a different issue (handling of pseudoconstants when mapping v3 to v4). This
fixes that separate issue & declares required to re-fix for v4
CRM/Core/DAO/CustomField.php
CRM/Member/DAO/MembershipType.php
CRM/Upgrade/Incremental/sql/5.31.alpha1.mysql.tpl
Civi/Test/Api3TestTrait.php
tests/phpunit/CiviTest/CiviUnitTestCase.php
tests/phpunit/api/v3/MembershipTypeTest.php
tests/phpunit/api/v3/PaymentProcessorTypeTest.php
xml/schema/Member/MembershipType.xml