CRM-19346 Patch API also to ensure that same value cannot be used as well
authorSeamus Lee <seamuslee001@gmail.com>
Mon, 9 Oct 2017 09:11:25 +0000 (20:11 +1100)
committerSeamus Lee <seamuslee001@gmail.com>
Tue, 10 Oct 2017 07:10:17 +0000 (18:10 +1100)
commite5720c45de2ae4c7c02976980052f0311dd18f42
treefcf0e568bf77c15fcdbeec11f08ec788ed0b7941
parent82f3aedc43466da228e26f59c2e143a2c0899599
CRM-19346 Patch API also to ensure that same value cannot be used as well

Add in fixes to unit tests

Switch to using CRM_Core_OptionGroup:: rather than hard codeded array
CRM/Admin/Form/Options.php
CRM/Core/BAO/OptionValue.php
tests/phpunit/CiviTest/CiviUnitTestCase.php
tests/phpunit/api/v3/OptionValueTest.php