Commit graph

26 commits

Author SHA1 Message Date
Philipp Holzer c3be053742
Add license header to various tests 2022-01-07 00:35:28 +01:00
Philipp Holzer 5e85939502
Introduce FixtureTest::useHttpMethod for manually overwrite the HTTP Method argument 2022-01-04 20:59:26 +01:00
Philipp 322b7c856c
Merge pull request #11129 from urbalazs/copyright-2022
Update copyright
2022-01-02 09:45:35 +01:00
Balázs Úr e56a53647b Update copyright 2022-01-02 08:27:47 +01:00
Philipp Holzer 301ac83ebf
Add feedback - avoid intermediate variables 2022-01-02 01:04:04 +01:00
Philipp Holzer 6412484fa6
Move API DirectMessage tests 2021-12-30 21:07:20 +01:00
Philipp Holzer 5d69f7411d
Add MessageDirect\Search tests 2021-12-27 20:02:37 +01:00
Philipp Holzer f6e09204e9
Add assertions for NotificationTest 2021-12-10 17:32:41 +01:00
Philipp Holzer 354c2d828a
Simplify json testing 2021-12-09 20:53:29 +01:00
Michael 56f8adcb80 Merge remote-tracking branch 'upstream/2021.12-rc' into api-fixes 2021-11-30 19:07:24 +00:00
Philipp Holzer 2e4d654c0a Make $_REQUEST processing independent of sub-calls
- Move HTTPInputData::process() into App::runFrontend()
- Pass $_REQUEST (including processed Input) to every Module method
- Delete $_POST parameters at Module post() calls because of $_REQUEST
2021-11-30 01:07:58 -05:00
Michael 220c910de4 Tests 2021-11-30 05:43:06 +00:00
Philipp Holzer d433c06632 Add tests to prove error https://github.com/friendica/friendica/issues/11023
- Use `$request` instead of `$post` in `BaseModule->run`
2021-11-29 06:29:29 -05:00
Philipp Holzer 313d74598d Fix tests 2021-11-27 22:25:41 -05:00
Philipp Holzer 6a9fff5100
Fixing Response 2021-11-27 12:40:57 +01:00
Philipp Holzer 7cd85873ee
Replace IRespondToRequests with PSR-7 ResponseInterface 2021-11-27 12:40:57 +01:00
Philipp Holzer 537b74f307
Inherit ApiResponse from Response 2021-11-27 12:40:54 +01:00
Philipp Holzer 645e4edc63
Revert "Revert "Replace Module::init() with Constructors""
This reverts commit 89d6c89b67.
2021-11-19 20:18:48 +01:00
Hypolite Petovan 89d6c89b67
Revert "Replace Module::init() with Constructors" 2021-11-19 07:23:23 -05:00
Philipp Holzer f3d7d610e8
Fix tests 2021-11-17 22:21:03 +01:00
Philipp Holzer d32f8e5285
Adapt API tests for dynamic usage 2021-11-14 23:49:07 +01:00
Philipp Holzer e7f84d4934
Move Api\unsupported tests and remove dependency to System::jsonExit() 2021-11-12 22:44:59 +01:00
Philipp Holzer bfe925aabe
Make PHP-CS happy and add (c) header 2021-11-12 21:50:02 +01:00
Philipp Holzer 6725f05ab2
Moved API\Notification tests 2021-11-12 21:35:21 +01:00
Philipp Holzer f2ca21935e
Move API\Photo testcases 2021-11-12 21:12:00 +01:00
Philipp Holzer e477cf215d
Make API testable & move PhotoAlbum tests to new destination 2021-11-12 21:08:36 +01:00