From 68e23469c32a2760271e86f86765b61bc2d9cd9b Mon Sep 17 00:00:00 2001 From: Mattias Michaux Date: Mon, 16 May 2016 21:11:29 +0200 Subject: [PATCH] Fix missing documentation for new API entities. --- tests/phpunit/CiviTest/CiviUnitTestCase.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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')); -- 2.25.1