]> git.mxchange.org Git - friendica.git/commitdiff
Fix "location" entry for contacts in API test dataset
authorPhilipp <admin@philipp.info>
Wed, 19 Aug 2020 20:29:04 +0000 (22:29 +0200)
committerPhilipp <admin@philipp.info>
Fri, 21 Aug 2020 14:11:37 +0000 (16:11 +0200)
tests/datasets/api.fixture.php

index 0ff9a4a2147589594c8cd4bd75b8c5d24a662ed9..0cfdd9fa86ae7d9da559af1766f78c2e9b6c7b60 100644 (file)
@@ -70,6 +70,7 @@ return [
                        'blocked' => 0,
                        'rel'     => 1,
                        'network' => 'dfrn',
+                       'location' => 'DFRN',
                ],
                // Having the same name and nick allows us to test
                // the fallback to api_get_nick() in api_get_user()
@@ -85,6 +86,7 @@ return [
                        'blocked' => 0,
                        'rel'     => 0,
                        'network' => 'dfrn',
+                       'location' => 'DFRN',
                ],
                [
                        'id'      => 44,
@@ -98,6 +100,7 @@ return [
                        'blocked' => 0,
                        'rel'     => 2,
                        'network' => 'dfrn',
+                       'location' => 'DFRN',
                ],
                [
                        'id'      => 45,
@@ -111,6 +114,7 @@ return [
                        'blocked' => 0,
                        'rel'     => 2,
                        'network' => 'dfrn',
+                       'location' => 'DFRN',
                ],
                [
                        'id'      => 46,
@@ -124,6 +128,7 @@ return [
                        'blocked' => 0,
                        'rel'     => 3,
                        'network' => 'dfrn',
+                       'location' => 'DFRN',
                ],
                [
                        'id'      => 47,
@@ -137,6 +142,7 @@ return [
                        'blocked' => 0,
                        'rel'     => 2,
                        'network' => 'dfrn',
+                       'location' => 'DFRN',
                ],
        ],
        'item-uri'    => [