]> git.mxchange.org Git - friendica.git/commitdiff
Revert using System::baseurl() for mock user nurls
authorHypolite Petovan <mrpetovan@gmail.com>
Sun, 1 Jul 2018 19:07:50 +0000 (15:07 -0400)
committerHypolite Petovan <mrpetovan@gmail.com>
Mon, 2 Jul 2018 11:49:40 +0000 (07:49 -0400)
tests/ApiTest.php

index 10b7849eb6314c38c06f5b338323f74e605c6f84..160fb1b9662f7bc31a70a4f0ddc5fcb041bdb45c 100644 (file)
@@ -38,19 +38,19 @@ class ApiTest extends DatabaseTest
                        'id' => 42,
                        'name' => 'Self contact',
                        'nick' => 'selfcontact',
-                       'nurl' => \Friendica\Core\System::baseUrl() . '/profile/selfcontact'
+                       'nurl' => 'http://localhost/profile/selfcontact'
                ];
                $this->friendUser = [
                        'id' => 44,
                        'name' => 'Friend contact',
                        'nick' => 'friendcontact',
-                       'nurl' => \Friendica\Core\System::baseUrl() . '/profile/friendcontact'
+                       'nurl' => 'http://localhost/profile/friendcontact'
                ];
                $this->otherUser = [
                        'id' => 43,
                        'name' => 'othercontact',
                        'nick' => 'othercontact',
-                       'nurl' => \Friendica\Core\System::baseUrl() . '/profile/othercontact'
+                       'nurl' => 'http://localhost/profile/othercontact'
                ];
 
                // User ID that we know is not in the database