From 6730d7a17fa121f731158740d4f70aa4dd5092da Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Thu, 26 Feb 2015 12:53:12 -0500 Subject: [PATCH] CRM-15988 - Test fixes --- tests/phpunit/Civi/API/RequestTest.php | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/tests/phpunit/Civi/API/RequestTest.php b/tests/phpunit/Civi/API/RequestTest.php index 1c281b5144..6768d6885c 100644 --- a/tests/phpunit/Civi/API/RequestTest.php +++ b/tests/phpunit/Civi/API/RequestTest.php @@ -120,11 +120,19 @@ class RequestTest extends \CiviUnitTestCase { $cases = array(); $cases[] = array( array('MyEntity', 'MyAction', 3), - array('MyEntity', 'myAction', 3), + array('MyEntity', 'myaction', 3), ); $cases[] = array( array('my+entity', 'MyAction', 3), - array('my_entity', 'myAction', 3), + array('MyEntity', 'myaction', 3), + ); + $cases[] = array( + array('my entity with under_scores', 'My_Action', 3), + array('MyEntityWithUnderScores', 'my_action', 3), + ); + $cases[] = array( + array('u_f_match', 'get Something', 3), + array('UFMatch', 'get_something', 3), ); $cases[] = array( array('MyEntity', 'MyAction', 4), -- 2.25.1