Add Rule api for dedupe rule & fix tests to use it.
authoreileen <emcnaughton@wikimedia.org>
Thu, 29 Nov 2018 22:17:55 +0000 (11:17 +1300)
committereileen <emcnaughton@wikimedia.org>
Thu, 29 Nov 2018 22:17:55 +0000 (11:17 +1300)
commit69947f596b308856d2b351f05243640430ccb318
treef596c50dfca059932182c0a6f883b3d366515a01
parent542936f8b98d0386c4dc5d0091c3e93945e00909
Add Rule api for dedupe rule & fix tests to use it.

Tests seem to be languishing on the painfulness of creating Reules without an api so adding one.

Note that there is good automatic test coverage under SyntaxConformance for this.

I also removed a pointless piece of code
tests/phpunit/CRM/Dedupe/DedupeFinderTest.php