]> git.mxchange.org Git - friendica.git/blobdiff - tests/datasets/api.yml
Merge pull request #5878 from nupplaphil/curl_response_refactoring
[friendica.git] / tests / datasets / api.yml
index eacb30a507fa740bf6ac2dbd4ede80bcc6ebab75..124c6b0d541c51ec8314a38581ffd6a52db4f757 100644 (file)
@@ -1,13 +1,27 @@
 ---
 # Empty these tables
 cache:
-config:
 conversation:
 pconfig:
 photo:
 workerqueue:
 mail:
 
+# 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 +48,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 +62,7 @@ contact:
         network: dfrn
     -
         id: 44
-        uid: 0
+        uid: 42
         name: Friend contact
         nick: friendcontact
         self: 0