]> git.mxchange.org Git - friendica.git/commitdiff
Another try to make tests run again
authorMichael <heluecht@pirati.ca>
Sun, 18 Nov 2018 20:59:40 +0000 (20:59 +0000)
committerMichael <heluecht@pirati.ca>
Sun, 18 Nov 2018 20:59:40 +0000 (20:59 +0000)
tests/include/ApiTest.php

index 28c87da19970ae66c5103c9e15b7e3f03e4fcf23..91b41e01a2223661244223d1c06a1aa14561d10d 100644 (file)
@@ -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']);