projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #14587 from samuelsov/lab1058
[civicrm-core.git]
/
CRM
/
Core
/
CodeGen
/
Test.php
diff --git
a/CRM/Core/CodeGen/Test.php
b/CRM/Core/CodeGen/Test.php
index 3754ae93b28bc170064e3fff52978eb2f9b39d31..26f70304543224b70a00a5b7651beaa27802ee5f 100644
(file)
--- a/
CRM/Core/CodeGen/Test.php
+++ b/
CRM/Core/CodeGen/Test.php
@@
-4,11
+4,12
@@
* Generate files used during testing.
*/
class CRM_Core_CodeGen_Test extends CRM_Core_CodeGen_BaseTask {
* Generate files used during testing.
*/
class CRM_Core_CodeGen_Test extends CRM_Core_CodeGen_BaseTask {
- function run() {
+
+ public function run() {
$this->generateCiviTestTruncate();
}
$this->generateCiviTestTruncate();
}
- function generateCiviTestTruncate() {
+
public
function generateCiviTestTruncate() {
echo "Generating tests truncate file\n";
# TODO template
echo "Generating tests truncate file\n";
# TODO template
@@
-24,4
+25,5
@@
class CRM_Core_CodeGen_Test extends CRM_Core_CodeGen_BaseTask {
file_put_contents($this->config->sqlCodePath . "../tests/phpunit/CiviTest/truncate.xml", $truncate);
unset($truncate);
}
file_put_contents($this->config->sqlCodePath . "../tests/phpunit/CiviTest/truncate.xml", $truncate);
unset($truncate);
}
+
}
}