Hypolite Petovan
5d428ac8af
Add newly required constructor parameter to BaseApi-related tests
2023-10-11 10:17:32 -04:00
Hypolite Petovan
1874a32728
Happy New Year 2023!
2023-01-01 09:36:24 -05:00
Philipp
4f1bb0d274
Use X-REQUEST-ID for Error pages
2022-12-26 21:18:05 +01:00
Hypolite Petovan
b7cee324b0
Add legacy notification endpoint for deprecated Notify entity
...
- Add dependencies to Notifications\Notification module class
2022-03-14 07:56:21 -04:00
Philipp
c3be053742
Add license header to various tests
2022-01-07 00:35:28 +01:00
Philipp
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
301ac83ebf
Add feedback - avoid intermediate variables
2022-01-02 01:04:04 +01:00
Philipp
6412484fa6
Move API DirectMessage tests
2021-12-30 21:07:20 +01:00
Philipp
5d69f7411d
Add MessageDirect\Search tests
2021-12-27 20:02:37 +01:00
Philipp
f6e09204e9
Add assertions for NotificationTest
2021-12-10 17:32:41 +01:00
Philipp
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
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
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
313d74598d
Fix tests
2021-11-27 22:25:41 -05:00
Philipp
6a9fff5100
Fixing Response
2021-11-27 12:40:57 +01:00
Philipp
7cd85873ee
Replace IRespondToRequests with PSR-7 ResponseInterface
2021-11-27 12:40:57 +01:00
Philipp
537b74f307
Inherit `ApiResponse` from `Response`
2021-11-27 12:40:54 +01:00
Philipp
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
f3d7d610e8
Fix tests
2021-11-17 22:21:03 +01:00
Philipp
d32f8e5285
Adapt API tests for dynamic usage
2021-11-14 23:49:07 +01:00
Philipp
e7f84d4934
Move Api\unsupported tests and remove dependency to System::jsonExit()
2021-11-12 22:44:59 +01:00
Philipp
bfe925aabe
Make PHP-CS happy and add (c) header
2021-11-12 21:50:02 +01:00
Philipp
6725f05ab2
Moved API\Notification tests
2021-11-12 21:35:21 +01:00
Philipp
f2ca21935e
Move API\Photo testcases
2021-11-12 21:12:00 +01:00
Philipp
e477cf215d
Make API testable & move PhotoAlbum tests to new destination
2021-11-12 21:08:36 +01:00