From: Mattias Michaux Date: Mon, 16 May 2016 19:11:29 +0000 (+0200) Subject: Fix missing documentation for new API entities. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=68e23469c32a2760271e86f86765b61bc2d9cd9b;p=civicrm-core.git Fix missing documentation for new API entities. --- diff --git a/tests/phpunit/CiviTest/CiviUnitTestCase.php b/tests/phpunit/CiviTest/CiviUnitTestCase.php index a74bca2c97..ca9dbcf6e5 100644 --- a/tests/phpunit/CiviTest/CiviUnitTestCase.php +++ b/tests/phpunit/CiviTest/CiviUnitTestCase.php @@ -2270,8 +2270,8 @@ class CiviUnitTestCase extends PHPUnit_Extensions_Database_TestCase { global $civicrm_root; if (file_exists($civicrm_root . '/tests/templates/documentFunction.tpl')) { - if (!is_dir($civicrm_root . '/api/v3/examples/$entity')) { - mkdir($civicrm_root . '/api/v3/examples/$entity'); + if (!is_dir($civicrm_root . "/api/v3/examples/$entity")) { + mkdir($civicrm_root . "/api/v3/examples/$entity"); } $f = fopen($civicrm_root . "/api/v3/examples/$entity/$exampleName.php", "w+b"); fwrite($f, $smarty->fetch($civicrm_root . '/tests/templates/documentFunction.tpl'));