diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2024-01-06 16:34:38 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2024-01-06 16:34:38 +0000 |
commit | e3d30763dabdf12f961ed3d1d7cf4eaee44c65a9 (patch) | |
tree | ed3d493e8423ad9ccbde5e8e199e65164820e70f /tests/unit/GetTagsTest.php | |
parent | 6252340804bee66736e49de4bdc08755510f1c70 (diff) | |
download | volse-hubzilla-e3d30763dabdf12f961ed3d1d7cf4eaee44c65a9.tar.gz volse-hubzilla-e3d30763dabdf12f961ed3d1d7cf4eaee44c65a9.tar.bz2 volse-hubzilla-e3d30763dabdf12f961ed3d1d7cf4eaee44c65a9.zip |
tests: Integrate the DB in "unit" tests.
Diffstat (limited to 'tests/unit/GetTagsTest.php')
-rw-r--r-- | tests/unit/GetTagsTest.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/unit/GetTagsTest.php b/tests/unit/GetTagsTest.php index 418d32c47..ccb88080e 100644 --- a/tests/unit/GetTagsTest.php +++ b/tests/unit/GetTagsTest.php @@ -26,6 +26,7 @@ class MockApp { * * @param string $sql */ +/* function q($sql) { $result=array(array('id'=>15, 'attag'=>'', 'network'=>'dfrn', @@ -55,7 +56,7 @@ function q($sql) { return $result; } } - +*/ /** * Replacement for dbesc. * I don't want to test dbesc here, so @@ -68,9 +69,11 @@ function q($sql) { * * @return input */ +/* function dbesc($str) { return $str; } +*/ /** * TestCase for tag handling. |