From: Michael Date: Sun, 18 Nov 2018 20:59:40 +0000 (+0000) Subject: Another try to make tests run again X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=503c78e3efebedd934b63fa98464b66815aff654;p=friendica.git Another try to make tests run again --- diff --git a/tests/include/ApiTest.php b/tests/include/ApiTest.php index 28c87da199..91b41e01a2 100644 --- a/tests/include/ApiTest.php +++ b/tests/include/ApiTest.php @@ -1289,7 +1289,7 @@ class ApiTest extends DatabaseTest $result = api_users_show('json'); // We can't use assertSelfUser() here because the user object is missing some properties. $this->assertEquals($this->selfUser['id'], $result['user']['cid']); - $this->assertEquals('Friendica', $result['user']['location']); + $this->assertEquals('DFRN', $result['user']['location']); $this->assertEquals($this->selfUser['name'], $result['user']['name']); $this->assertEquals($this->selfUser['nick'], $result['user']['screen_name']); $this->assertEquals('dfrn', $result['user']['network']); @@ -3296,7 +3296,7 @@ class ApiTest extends DatabaseTest $result = api_account_update_profile('json'); // We can't use assertSelfUser() here because the user object is missing some properties. $this->assertEquals($this->selfUser['id'], $result['user']['cid']); - $this->assertEquals('Friendica', $result['user']['location']); + $this->assertEquals('DFRN', $result['user']['location']); $this->assertEquals($this->selfUser['nick'], $result['user']['screen_name']); $this->assertEquals('dfrn', $result['user']['network']); $this->assertEquals('new_name', $result['user']['name']); @@ -3650,7 +3650,7 @@ class ApiTest extends DatabaseTest $result = api_friendica_profile_show('json'); // We can't use assertSelfUser() here because the user object is missing some properties. $this->assertEquals($this->selfUser['id'], $result['$result']['friendica_owner']['cid']); - $this->assertEquals('Friendica', $result['$result']['friendica_owner']['location']); + $this->assertEquals('DFRN', $result['$result']['friendica_owner']['location']); $this->assertEquals($this->selfUser['name'], $result['$result']['friendica_owner']['name']); $this->assertEquals($this->selfUser['nick'], $result['$result']['friendica_owner']['screen_name']); $this->assertEquals('dfrn', $result['$result']['friendica_owner']['network']);