aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/UnitTestCase.php
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2024-01-08 13:48:15 +0100
committerHarald Eilertsen <haraldei@anduin.net>2024-01-08 14:01:02 +0100
commit99b5166f21ce9269ec33e44555093a30ca5ee230 (patch)
tree6703348b0544473931ed76dedf366b39c360485c /tests/unit/UnitTestCase.php
parent4aa29db7aac6c389a1908a53bce2ec36d7f94ee1 (diff)
downloadvolse-hubzilla-99b5166f21ce9269ec33e44555093a30ca5ee230.tar.gz
volse-hubzilla-99b5166f21ce9269ec33e44555093a30ca5ee230.tar.bz2
volse-hubzilla-99b5166f21ce9269ec33e44555093a30ca5ee230.zip
tests: Clean up unused debug stuff from UnitTestCase
Diffstat (limited to 'tests/unit/UnitTestCase.php')
-rw-r--r--tests/unit/UnitTestCase.php5
1 files changed, 0 insertions, 5 deletions
diff --git a/tests/unit/UnitTestCase.php b/tests/unit/UnitTestCase.php
index b98845985..60db5a4b5 100644
--- a/tests/unit/UnitTestCase.php
+++ b/tests/unit/UnitTestCase.php
@@ -116,10 +116,6 @@ class UnitTestCase extends TestCase {
$table_name = basename($file, '.yml');
$this->fixtures[$table_name] = yaml_parse_file($file)[$table_name];
- //echo "\n[*] Loaded fixture '{$table_name}':\n";
- // . print_r($this->fixtures[$table_name], true)
- // . PHP_EOL;
-
foreach ($this->fixtures[$table_name] as $entry) {
$query = 'INSERT INTO ' . dbesc($table_name) . '('
. implode(',', array_keys($entry))
@@ -127,7 +123,6 @@ class UnitTestCase extends TestCase {
. implode(',', array_map(fn($val) => "'{$val}'", array_values($entry)))
. ')';
- //print_r($query);
q($query);
}
}