Merge pull request #11183 from jmcclelland/CRM-18048
[civicrm-core.git] / tests / phpunit / CiviTest / CiviUnitTestCase.php
index a1df399f31a2cb0f88dbf0f3f976a179b6254c46..3b09fa937584f8df463456ddca86c5f3b2b4b973 100644 (file)
@@ -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'],