X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=tests%2Fphpunit%2FCiviTest%2FCiviUnitTestCase.php;h=3b09fa937584f8df463456ddca86c5f3b2b4b973;hb=8d787e4ec628c060855052d5894e67c462df4e5b;hp=a1df399f31a2cb0f88dbf0f3f976a179b6254c46;hpb=9a5929a960058f9ef2df1f094da9ffe387900cd8;p=civicrm-core.git diff --git a/tests/phpunit/CiviTest/CiviUnitTestCase.php b/tests/phpunit/CiviTest/CiviUnitTestCase.php index a1df399f31..3b09fa9375 100644 --- a/tests/phpunit/CiviTest/CiviUnitTestCase.php +++ b/tests/phpunit/CiviTest/CiviUnitTestCase.php @@ -2091,10 +2091,6 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase { $params = array_merge($defaults, $params); - if (strlen($params['title']) > 13) { - $params['title'] = substr($params['title'], 0, 13); - } - //have a crack @ deleting it first in the hope this will prevent derailing our tests $this->callAPISuccess('custom_group', 'get', array( 'title' => $params['title'],