projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
216a68f
)
avoid backslash problems
author
demeritcowboy
<demeritcowboy@hotmail.com>
Wed, 5 Feb 2020 16:02:50 +0000
(11:02 -0500)
committer
demeritcowboy
<demeritcowboy@hotmail.com>
Wed, 5 Feb 2020 16:02:50 +0000
(11:02 -0500)
Civi/Test.php
patch
|
blob
|
blame
|
history
diff --git
a/Civi/Test.php
b/Civi/Test.php
index 7eb83cade19ad792b41ae8ab4c1ccca1e23a012f..b6f907585ec6ceb2d261ce93bd85ca4e38feeee1 100644
(file)
--- a/
Civi/Test.php
+++ b/
Civi/Test.php
@@
-163,7
+163,7
@@
class Test {
*/
public static function codeGen() {
if (!isset(self::$singletons['codeGen'])) {
- $civiRoot =
dirname(__DIR__)
;
+ $civiRoot =
'.'
;
$codeGen = new \CRM_Core_CodeGen_Main("$civiRoot/CRM/Core/DAO", "$civiRoot/sql", $civiRoot, "$civiRoot/templates", NULL, "UnitTests", NULL, "$civiRoot/xml/schema/Schema.xml", NULL);
$codeGen->init();
self::$singletons['codeGen'] = $codeGen;