Revert using System::baseurl() for mock user nurls

This commit is contained in:
Hypolite Petovan 2018-07-01 15:07:50 -04:00
parent 633a71ec97
commit f91e7c9f17
1 changed files with 3 additions and 3 deletions

View File

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