X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=inline;f=tests%2Fdatasets%2Fapi.yml;h=e4ef31219f6400aefc5fec4e1b6607ec1cc8c8b9;hb=651834f7d1f8ec39cb9bcd6cab111d2c313f8e6b;hp=eacb30a507fa740bf6ac2dbd4ede80bcc6ebab75;hpb=d31e3b16fff8b9887ed2c4761ed2a8ad5bc0559e;p=friendica.git diff --git a/tests/datasets/api.yml b/tests/datasets/api.yml index eacb30a507..e4ef31219f 100644 --- a/tests/datasets/api.yml +++ b/tests/datasets/api.yml @@ -1,12 +1,27 @@ --- # Empty these tables cache: -config: conversation: pconfig: photo: workerqueue: mail: +item-delivery-data: + +# Base test config to avoid notice messages +config: + - + cat: system + k: url + v: http://localhost + - + cat: system + k: hostname + v: localhost + - + cat: system + k: worker_dont_fork + v: 1 # Populate tables with test data user: @@ -34,7 +49,7 @@ contact: network: dfrn - id: 43 - uid: 42 + uid: 0 # Having the same name and nick allows us to test # the fallback to api_get_nick() in api_get_user() name: othercontact @@ -48,7 +63,7 @@ contact: network: dfrn - id: 44 - uid: 0 + uid: 42 name: Friend contact nick: friendcontact self: 0