From f91e7c9f1760ca98a5d1ad8643e72191ef99898b Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Sun, 1 Jul 2018 15:07:50 -0400 Subject: [PATCH] Revert using System::baseurl() for mock user nurls --- tests/ApiTest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/ApiTest.php b/tests/ApiTest.php index 10b7849eb..160fb1b96 100644 --- a/tests/ApiTest.php +++ b/tests/ApiTest.php @@ -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