tests/phpunit/** - Remove unnecessary "require_once" statements
[civicrm-core.git] / tests / phpunit / CRM / Core / Permission / BaseTest.php
index 606637ce509c4c9852ba0ae3720ce13ef2130211..e62b9c8f96591fa68ec860039b26a760b6facdf7 100644 (file)
@@ -1,11 +1,13 @@
 <?php
 
-require_once 'CiviTest/CiviUnitTestCase.php';
-
+/**
+ * Class CRM_Core_Permission_BaseTest
+ */
 class CRM_Core_Permission_BaseTest extends CiviUnitTestCase {
 
   /**
-   * @return array (0 => input to translatePermission, 1 => expected output from translatePermission)
+   * @return array
+   *   (0 => input to translatePermission, 1 => expected output from translatePermission)
    */
   public function translateData() {
     $cases = array();
@@ -24,8 +26,10 @@ class CRM_Core_Permission_BaseTest extends CiviUnitTestCase {
 
   /**
    * @dataProvider translateData
-   * @param string $input the name of a permission which should be translated
-   * @param string $expected the name of an actual permission (based on translation matrix for "runtime")
+   * @param string $input
+   *   The name of a permission which should be translated.
+   * @param string $expected
+   *   The name of an actual permission (based on translation matrix for "runtime").
    */
   public function testTranslate($input, $expected) {
     $perm = new CRM_Core_Permission_Base();
@@ -36,4 +40,5 @@ class CRM_Core_Permission_BaseTest extends CiviUnitTestCase {
     ));
     $this->assertEquals($expected, $actual);
   }
+
 }