Fix API test cases

- Add meaningful app->argv/c
- Add support for subfolder install
- Add meaningful image URL from placeholder.com
- Fix incomplete test testApiHelpTestWithXml()
- Use $this->frienduser for direct messages tests
- Fix dataset to have an actual contact relationship
This commit is contained in:
Hypolite Petovan 2018-07-01 14:46:24 -04:00
commit 18eb13a598
2 changed files with 56 additions and 41 deletions

View file

@ -34,7 +34,7 @@ contact:
network: dfrn
-
id: 43
uid: 0
uid: 42
# Having the same name and nick allows us to test
# the fallback to api_get_nick() in api_get_user()
name: othercontact