From 3c359013807a4d7da7d98261ab0e7002514dd070 Mon Sep 17 00:00:00 2001 From: Philipp Date: Wed, 19 Aug 2020 22:29:04 +0200 Subject: [PATCH] Fix "location" entry for contacts in API test dataset --- tests/datasets/api.fixture.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/datasets/api.fixture.php b/tests/datasets/api.fixture.php index 0ff9a4a214..0cfdd9fa86 100644 --- a/tests/datasets/api.fixture.php +++ b/tests/datasets/api.fixture.php @@ -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' => [