From b3622e74b268e371cd7b10af394fa8b01305e0e6 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Tue, 22 Feb 2022 17:26:44 -0500 Subject: [PATCH] Add required notify field to contacts in API test fixture --- tests/datasets/api.fixture.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/datasets/api.fixture.php b/tests/datasets/api.fixture.php index 6438fc9f9e..1b52baa354 100644 --- a/tests/datasets/api.fixture.php +++ b/tests/datasets/api.fixture.php @@ -141,6 +141,7 @@ return [ 'self' => 1, 'nurl' => 'http://localhost/profile/selfcontact', 'url' => 'http://localhost/profile/selfcontact', + 'notify' => 'http://localhost/friendica/inbox', 'about' => 'User used in tests', 'prvkey' => "-----BEGIN RSA PRIVATE KEY-----\nMIICXgIBAAKBgQDVqxF9kIgtgRL0+q+jTi578FA1r1+crEmlYc0pdxcbmmrhjuRc\nrK1gX3r0mnP25fkHzG+6CAjgbDBRFM1/RXBCyp/KHVks7eQ4yr4MxTRlsxo5qf2o\nnbyNzM7Q+LZhFhe/yIoGN/fuEjlqBE98IfPOrUjsQPX240vGNXIkfLiAWwIDAQAB\nAoGBAIwuiPIdggqAtWQ+mD8HCx5LQwSFw6/xpPu5F7ZNqL52aAsGCbL3o2QoIG4c\na1qf9Ot16BNgNBqxQF3hzRTkBMrKYlmNTUkwJXun/zjQJq2JvOlcrSuXlIucUjs4\nXekVN25aYPHrX9m2FEIUwZTb4UYXbR80KbIDI53BkQ6EwSbpAkEA7aO49CR2Hf1Y\n1d2GaUI/Z0wvbj//+t0Kg0bPt16ca8KVjEQQA5ylsDaiw510jDz9NBQxSOk6If23\nUeRixc1RDQJBAOYtN4YnPM1Zfp6IxXlqMCc+xUWRTPEPFt+WpG+v79koNamAeA6o\nZzTl92hl58IqSdbgojeE2zXWQRvlimFMLQcCQQCV6jND0byyLqFcSeQBg0l8YROK\n+dUC7W80YfeoNod3c8nkMwvnO2tLPyxvO2XLEq6prBNra7bAus5rWyj0oBIBAkEA\n1EvUMFm0TLpEfLgtWuTD8Q6GKLnxO0ztjd+FXrXpBGN/ywyArxRHzJRmctW6wmz6\nmcOqGobhIHCysKYv0bnOtQJAc2M5RwlASHH4jGJzXgt3nboyiJfufM0RV9iry3ho\nCXQRWAONKoLqnsfC6qNP8OzY8FMJcwmPWj7Q/6z6yLBFTA==\n-----END RSA PRIVATE KEY-----", 'pubkey' => "-----BEGIN PUBLIC KEY-----\nMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDVqxF9kIgtgRL0+q+jTi578FA1\nr1+crEmlYc0pdxcbmmrhjuRcrK1gX3r0mnP25fkHzG+6CAjgbDBRFM1/RXBCyp/K\nHVks7eQ4yr4MxTRlsxo5qf2onbyNzM7Q+LZhFhe/yIoGN/fuEjlqBE98IfPOrUjs\nQPX240vGNXIkfLiAWwIDAQAB\n-----END PUBLIC KEY-----", @@ -161,6 +162,7 @@ return [ 'self' => 0, 'nurl' => 'http://localhost/profile/othercontact', 'url' => 'http://localhost/profile/othercontact', + 'notify' => 'http://localhost/friendica/inbox', 'pending' => 0, 'blocked' => 0, 'rel' => Contact::NOTHING, @@ -176,6 +178,7 @@ return [ 'self' => 0, 'nurl' => 'http://localhost/profile/friendcontact', 'url' => 'http://localhost/profile/friendcontact', + 'notify' => 'http://localhost/friendica/inbox', 'pending' => 0, 'blocked' => 0, 'rel' => Contact::SHARING, @@ -191,6 +194,7 @@ return [ 'self' => 0, 'nurl' => 'http://localhost/profile/friendcontact', 'url' => 'http://localhost/profile/friendcontact', + 'notify' => 'http://localhost/friendica/inbox', 'pending' => 0, 'blocked' => 0, 'rel' => Contact::SHARING, @@ -206,6 +210,7 @@ return [ 'self' => 0, 'nurl' => 'http://localhost/profile/mutualcontact', 'url' => 'http://localhost/profile/mutualcontact', + 'notify' => 'http://localhost/friendica/inbox', 'pending' => 0, 'blocked' => 0, 'rel' => Contact::FRIEND, @@ -221,6 +226,7 @@ return [ 'self' => 0, 'nurl' => 'http://localhost/profile/mutualcontact', 'url' => 'http://localhost/profile/mutualcontact', + 'notify' => 'http://localhost/friendica/inbox', 'pending' => 0, 'blocked' => 0, 'rel' => Contact::SHARING, @@ -236,6 +242,7 @@ return [ 'self' => 0, 'nurl' => 'http://localhost/profile/selfcontact', 'url' => 'http://localhost/profile/selfcontact', + 'notify' => 'http://localhost/friendica/inbox', 'about' => 'User used in tests', 'pending' => 0, 'blocked' => 0,