Philipp Holzer
2e602afd3e
Add Monolog
2 years ago
Hypolite Petovan
2f49c4a058
Revert "Add monolog"
2 years ago
Philipp Holzer
6150c2fa9c
Bugfixing
2 years ago
root
061ad380f6
for testApiSearchWithExcludeReplies: q parameter is required.
2 years ago
root
61afd5b3fb
refs #6292
APIs show number of comments
- /api/statuses/*_timeline
- /api/search
- /api/favorites
/api/search enhacement
- support exclude_replies parameter
2 years ago
root
ecb28f6e94
# should urlencode to %23
2 years ago
root
9c90cf7caf
ApiTest #6274 #6275
2 years ago
root
8de263df8b
#6275 - q support hashtag search
2 years ago
root
939364f9a0
API - /search #6274
- fixed: search result always return empty
- add hashtag search: friendica_tag params
- ApiTest & api.md updated
2 years ago
root
b43dd28b7a
closes #6272
2 years ago
Hypolite Petovan
5e1ceb57de
Escape global namespaced get_app() calls
- Add deprecated status
2 years ago
Michael
503c78e3ef
Another try to make tests run again
2 years ago
Michael
68936e8fc0
Possibly fix test
2 years ago
Philipp Holzer
e434ff0196
Test enhancements
2 years ago
Philipp Holzer
83ead5ec48
Test enhancements
2 years ago
Philipp Holzer
2ef81108b3
Renamed System::redirect() to $a->redirect()
3 years ago
Philipp Holzer
5ab115598c
Code Standards
3 years ago
Philipp Holzer
d28424ddce
Code standards
3 years ago
Philipp Holzer
4a82708cbf
Fix Testing
3 years ago
Philipp Holzer
5a02e39a65
Rename App Methods
- renamed a lot of App methods to CamelCase
- replaced direct public variables with get-/set-Methods
3 years ago
Philipp Holzer
a2fb49a2b4
Removing debugging echo
Updating Tests
3 years ago
Michael
d5203735eb
The API test should now complete again
3 years ago
Philipp
cd52d0b3e9
Using getopt for CLI arguments ( #5446 )
* Adding Argument class to Friendica
* Adding Argument class to Friendica
* Adding Argument class to Friendica
* fixing arguments for `spawnWorker`
* Adding `use Friendica\BaseObject` to `ApiTest.php`
* Refactoring the argument-usages of Friendica
* Refactoring the argument-usages of Friendica
* removing superfluous []
3 years ago
Pierre Rudloff
6e1ed0b0d3
Fix tests ( #5400 )
* Avoid argc side-effects
* Fix undefined array keys in JITConfigAdapter::set()
* Avoid argv side effects in ApiTest
3 years ago
Pierre Rudloff
b057906bed
Fix silent exit in ApiTest::testApiMediaUploadWithMedia() ( #5398 )
3 years ago
Hypolite Petovan
820afa2284
Replace global $a with BaseObject::getApp()
3 years ago
Hypolite Petovan
5906c7e013
Remove api test pconfig debug
3 years ago
Hypolite Petovan
478b42e88f
Fix debug
3 years ago
Hypolite Petovan
6987129a00
Add yet more pconfig debug to testApiGetUserWithCustomFrioSchema
3 years ago
Philipp Holzer
8c2258dd2e
switched back to origin TestCase structure
3 years ago
Philipp Holzer
c829e43725
moved get_guid to System::createGUID
3 years ago
Hypolite Petovan
c60d85329c
Rename language to lang in test data as well
3 years ago
Hypolite Petovan
cdab9b4cd2
Add missing author-link property to testFormatItems*
3 years ago
Hypolite Petovan
3a89ab199b
Fix tests error/failures
- Fix undenifed index: author-network notice
- Fix assertion mismatch in testApiDirectMessagesNewWithUserId
3 years ago
Hypolite Petovan
b2b984433c
Fix dataset ids for otheruser/frienduser
Remove debug
3 years ago
Hypolite Petovan
675333f246
Bleh
3 years ago
Hypolite Petovan
3e9ff5ef6e
Move debug
3 years ago
Hypolite Petovan
39b61da05d
Fix last undefined variable/index messages in tests
3 years ago
Hypolite Petovan
f91e7c9f17
Revert using System::baseurl() for mock user nurls
3 years ago
Hypolite Petovan
18eb13a598
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
3 years ago
Hypolite Petovan
a380bcd1c1
Fix more undefined variable/index notice in tests
3 years ago
Hypolite Petovan
209510e970
Replace PHP_EOL with \n to conform to code behavior on Windows in tests
3 years ago
Hypolite Petovan
a329ce5b50
Fix $called_api expecting at least 2 elements in tests
3 years ago
Hypolite Petovan
6776c4e3f9
Fix some undefined variable/index notices in tests
3 years ago
Michael
defd3d15b6
Possibly fixed test
3 years ago
Michael
28678c0fad
Reverting the last test
3 years ago
Michael
96d170c9d8
Trying to understand the test tool
3 years ago
Pierre Rudloff
3195d6e125
Add API tests
3 years ago