From 99b5166f21ce9269ec33e44555093a30ca5ee230 Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Mon, 8 Jan 2024 13:48:15 +0100 Subject: tests: Clean up unused debug stuff from UnitTestCase --- tests/unit/UnitTestCase.php | 5 ----- 1 file changed, 5 deletions(-) (limited to 'tests/unit/UnitTestCase.php') 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); } } -- cgit v1.2.3