]> git.mxchange.org Git - friendica.git/blobdiff - tests/datasets/api.yml
Change channel "app" to "index"
[friendica.git] / tests / datasets / api.yml
index eacb30a507fa740bf6ac2dbd4ede80bcc6ebab75..e4ef31219f6400aefc5fec4e1b6607ec1cc8c8b9 100644 (file)
@@ -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