Add tests for Ensure OptionGroup exists fn & fix optionValueExists to accept ID
authoreileen <emcnaughton@wikimedia.org>
Tue, 17 May 2016 01:05:23 +0000 (13:05 +1200)
committereileenmcnaugton <eileen@fuzion.co.nz>
Sun, 22 May 2016 22:44:46 +0000 (10:44 +1200)
commit859a7a950748cdfdfb613420dd5c8b93461cc37e
tree3799998f1ea55305a67a26f431cda57491cc2f68
parent579d017d17048901017a7015087783732b5b0db3
Add tests for Ensure OptionGroup exists fn & fix optionValueExists to accept ID

The option_group_id field accepts name or id so use that.

Conflicts:
CRM/Core/BAO/OptionValue.php

p
CRM/Core/BAO/OptionValue.php
tests/phpunit/api/v3/OptionGroupTest.php