diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2024-05-18 20:58:09 +0200 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2024-06-13 13:34:20 +0200 |
commit | d187c0025af98a9db27217569a92ac997c512f77 (patch) | |
tree | 789cf1c60d73e742185b004aba29927c7c3b1388 /tests/unit/includes/NetworkTest.php | |
parent | 4e9432263adf555b30d49dfd9a731f86b82ad02b (diff) | |
download | volse-hubzilla-d187c0025af98a9db27217569a92ac997c512f77.tar.gz volse-hubzilla-d187c0025af98a9db27217569a92ac997c512f77.tar.bz2 volse-hubzilla-d187c0025af98a9db27217569a92ac997c512f77.zip |
tests: Configure system.baseurl for tests.
Diffstat (limited to 'tests/unit/includes/NetworkTest.php')
-rw-r--r-- | tests/unit/includes/NetworkTest.php | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/tests/unit/includes/NetworkTest.php b/tests/unit/includes/NetworkTest.php index 5bf175953..a41075f25 100644 --- a/tests/unit/includes/NetworkTest.php +++ b/tests/unit/includes/NetworkTest.php @@ -7,12 +7,6 @@ class NetworkTest extends Zotlabs\Tests\Unit\UnitTestCase { - public function setUp() : void { - parent::setUp(); - - \App::set_baseurl("https://mytest.org"); - } - /** * @dataProvider localUrlTestProvider */ @@ -23,7 +17,7 @@ class NetworkTest extends Zotlabs\Tests\Unit\UnitTestCase { public static function localUrlTestProvider() : array { return [ [ '/some/path', true ], - [ 'https://mytest.org/some/path', true ], + [ 'https://hubzilla.test/some/path', true ], [ 'https://other.site/some/path', false ], ]; } |