Commit Graph

119 Commits

Author SHA1 Message Date
Hypolite Petovan 5d428ac8af Add newly required constructor parameter to BaseApi-related tests 2023-10-11 10:17:32 -04:00
Hypolite Petovan 642baa1f2a Rename ApipResponse->exit* methods to better show their meaning 2023-09-24 07:08:16 -04:00
Hypolite Petovan 960171c4e0 Remove dependency on super-globals in Module\Api\ApiResponse
- Updated DI dependencies to reflect the new parameters
- Updated tests to reflect the new parameters
2023-09-24 07:08:16 -04:00
Josh Soref af324f6adf spelling: response
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:14:16 -04:00
Josh Soref 2da2a38d48 spelling: applications
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:03:22 -04:00
Philipp 7e92adef6c
Fix API tests without addon table 2023-02-21 21:01:40 +01:00
Philipp 9e6d95284b
Adapt tests to use new BaseURL UriInterface 2023-02-18 21:12:21 +01:00
Philipp ad284208ee
Fix and adapt tests 2023-02-12 13:09:05 +01:00
Hypolite Petovan 8547014735 Update API unsupported test 2023-01-08 02:36:26 -05:00
Philipp 326566638f
adapt tests 2023-01-03 14:22:03 +01: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
Philipp bfc1c157f1
Adapt UserSession
- Move from App methods to UserSession methods
- Deprecate corresponding App methods
2022-12-26 21:18:04 +01:00
Michael 62a0d55fc8 The friendica constants have been moved to the app class 2022-10-17 10:37:48 +00:00
Philipp 2d4598a4db
adapt return type 2022-09-25 23:17:37 +02:00
Philipp 60b1cac166
Add empty testcase for later .. would work if we could mock applications 2022-09-25 21:39:29 +02: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
Michael 329dc22137 Fix test? 2022-02-25 21:03:16 +00:00
Philipp 40b3c69eec
Adapt test names 2022-01-22 21:43:30 +01:00
Philipp fbefb599dc
Move last legacy API tests & adapt phpunit.xml 2022-01-22 21:29:43 +01:00
Michael 51dcfe134e fixing some more tests 2022-01-16 20:58:58 +00:00
Michael 0f7b48c53e Fix wrong return value 2022-01-16 20:37:50 +00:00
Michael 88ac888a3b Fix some tests 2022-01-16 20:25:46 +00:00
Philipp c3be053742
Add license header to various tests 2022-01-07 00:35:28 +01:00
Philipp f6c240c062
Fix intended failure ;-) 2022-01-06 23:08:00 +01:00
Philipp 3e0bcf7acd
Add license check 2022-01-06 22:28:00 +01:00
Philipp 6dbbd08179
Use rawContent for Special Options to avoid a protected options() method 2022-01-04 20:59:29 +01:00
Philipp 37f850377e
Fix App routing 2022-01-04 20:59:28 +01:00
Philipp dc46af5ea1
Automatically return allowed HTTP methods for OPTIONS per specific endpoint 2022-01-04 20:59:27 +01:00
Philipp c1f2e391b0
Move Arguments reset to right place 2022-01-04 20:59:26 +01:00
Philipp 5e85939502
Introduce FixtureTest::useHttpMethod for manually overwrite the HTTP Method argument 2022-01-04 20:59:26 +01:00
Philipp c7f2ba213b
Fix OPTIONS 2022-01-04 20:59:25 +01:00
Philipp eaad220738
Add explicit status setting for PSR/ResponseInterface & add tests for OPTIONS endpoint 2022-01-04 20:59:25 +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 9d8a420391
Move API RSS tests 2021-12-30 22:37:23 +01:00
Philipp 2e221943d4
Move ApiResponse & Twitter Status tests 2021-12-30 22:08:46 +01:00
Philipp 6412484fa6
Move API DirectMessage tests 2021-12-30 21:07:20 +01:00
Philipp 0f40aec0e3
Move DirectMessages/Conversation tests 2021-12-30 20:18:34 +01:00
Philipp 07eca542a4
Move DirectMessages/Sent tests 2021-12-30 20:16:48 +01:00
Philipp 95e3583c68
Move DirectMessages/All tests 2021-12-30 20:04:32 +01:00
Philipp e7c5bdc779
Move DirectMessages/Inbox tests 2021-12-30 20:02:53 +01:00
Philipp 0c4c6faa54
Move DirectMessages/Destory tests & fix Destroy condition 2021-12-30 19:58:19 +01:00
Philipp 3374cac767
Move DirectMessages/New tests 2021-12-30 19:46:13 +01:00
Philipp 5d69f7411d
Add MessageDirect\Search tests 2021-12-27 20:02:37 +01:00
Philipp 7d967f64a7
Replace deprecated usages 2021-12-10 21:40:07 +01:00
Philipp f6e09204e9
Add assertions for NotificationTest 2021-12-10 17:32:41 +01:00
Philipp e9d8af89c2
Make PHP-CS happy ;-) 2021-12-09 22:55:15 +01:00
Philipp 631b9a84fc
Reenable Twitter/Retweet tests 2021-12-09 22:45:52 +01:00