diff options
author | Mario <mario@mariovavti.com> | 2024-01-06 16:34:39 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2024-01-06 16:34:39 +0000 |
commit | a36de8ba1a27204667413760c53f783ba60f22a7 (patch) | |
tree | fa219c32ebe5d8cad86dccc6b26b04ed6c22145b /tests/unit/GetTagsTest.php | |
parent | c73518d8ec562aed63223c668a43d9cda152cb9d (diff) | |
parent | e3d30763dabdf12f961ed3d1d7cf4eaee44c65a9 (diff) | |
download | volse-hubzilla-a36de8ba1a27204667413760c53f783ba60f22a7.tar.gz volse-hubzilla-a36de8ba1a27204667413760c53f783ba60f22a7.tar.bz2 volse-hubzilla-a36de8ba1a27204667413760c53f783ba60f22a7.zip |
Merge branch 'tests/fix-db-and-ci-integration' into 'dev'
tests: Integrate the DB in "unit" tests.
See merge request hubzilla/core!2081
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. |