diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2024-05-18 20:59:08 +0200 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2024-06-13 13:34:20 +0200 |
commit | 93a45be1816b33651fb2138c87aae083cfd480b9 (patch) | |
tree | b5c76d54d4b265070f65f66e83cb8501be419a9c | |
parent | d187c0025af98a9db27217569a92ac997c512f77 (diff) | |
download | volse-hubzilla-93a45be1816b33651fb2138c87aae083cfd480b9.tar.gz volse-hubzilla-93a45be1816b33651fb2138c87aae083cfd480b9.tar.bz2 volse-hubzilla-93a45be1816b33651fb2138c87aae083cfd480b9.zip |
tests: Set query string in Module\TestCase::get method.
-rw-r--r-- | tests/unit/Module/TestCase.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/unit/Module/TestCase.php b/tests/unit/Module/TestCase.php index e7051e001..f2e19f265 100644 --- a/tests/unit/Module/TestCase.php +++ b/tests/unit/Module/TestCase.php @@ -25,6 +25,7 @@ class TestCase extends \Zotlabs\Tests\Unit\UnitTestCase { $_SERVER['REQUEST_METHOD'] = 'GET'; $_SERVER['SERVER_PROTOCOL'] = 'HTTP/1.1'; + $_SERVER['QUERY_STRING'] = "q={$uri}"; $_REQUEST = $_GET; \App::init(); |