Commit graph

924 commits

Author SHA1 Message Date
Art4
06667fc37c Fix use statements 2024-12-13 22:22:50 +00:00
Art4
4f02c9ca88 rename DatabaseTest to DatabaseTestCase 2024-12-13 22:10:30 +00:00
Art4
c00a7c571a rename FixtureTest to FixtureTestCase 2024-12-13 22:04:16 +00:00
Art4
1d177ed907 Rename MockedTest to MockedTestCase 2024-12-11 22:45:17 +00:00
Art4
81be4c238c Fix namespace in PlaintextTest 2024-11-19 09:08:03 +00:00
Art4
c311a65073 Fix Plaintext class 2024-11-19 09:05:55 +00:00
Art4
a24a65de2f Merge branch 'develop' into refactoring-of-app-class 2024-11-16 19:29:56 +00:00
Art4
d2ea53deb1 Remove App dependency in test 2024-11-16 14:27:31 +00:00
Art4
1f2c97f76f Fix tests for now because of side effect in Friendica\App class 2024-11-16 10:21:29 +00:00
Art4
5595bfc0d8 Merge branch '2024.09-rc' into merge-2024.09-rc-branch 2024-11-15 14:32:05 +00:00
Michael
8fdd78ef95 Message split at commas, exclamation mark or question mark 2024-11-14 14:37:44 +00:00
Art4
8b500926ee Refactor tests for Util\Crypto 2024-11-09 23:50:06 +00:00
Art4
940884e4bd Refactor Crypto::randomDigits() 2024-11-09 23:18:13 +00:00
Art4
cf92446cf3 Fix tests 2024-11-02 22:06:02 +01:00
Art4
04d4c6d8f0 Fix mocking namespace 2024-11-02 20:57:11 +01:00
Art4
5ecee2b9f7 Fix namespace in IntallerTest, mock function_exists() with PHPMock 2024-11-02 17:43:43 +01:00
Art4
7de3b16dc3 Fix namespace for CryptoTest 2024-11-01 21:46:09 +00:00
Michael
22828388c0 The redundant function "fetchfull" is removed 2024-09-04 17:04:45 +00:00
Tobias Diekershoff
c4b58df927 REUSE tests directory 2024-08-24 14:31:41 +02:00
Michael
1f18e096fe Fix tests 2024-07-31 04:38:03 +00:00
Michael
55cec6c61d OpenWebAuth moved to a separate class / Improved authentication handling 2024-05-28 21:59:52 +00:00
Hypolite Petovan
49a0b0fc3c
Merge pull request #14090 from annando/bbcode
The BBCode conversion is split into several smaller functions
2024-04-14 21:59:46 -04:00
Michael
38da9013ff The BBCode conversion is split into several smaller functions 2024-04-14 07:45:56 +00:00
Hypolite Petovan
ed01b0f409
Merge pull request #14075 from mexon/mat/empty-picture-scale
round scaled dimensions up to avoid zero size
2024-04-13 18:30:44 -04:00
Matthew Exon
a20b876d67 add unit tests for getScalingDimensions 2024-04-13 21:50:17 +02:00
Michael
7dc5622dca Issue #14079: Shorten the displayed URL 2024-04-11 04:37:42 +00:00
Michael
78dc61b59e Fallback mechanism for missing IDN functions 2024-04-06 11:26:12 +00:00
Hypolite Petovan
1b651519a3 Normalize API fixture data
- Change public contact name to the related local user name
- Add location data to profile record that is used to update self and public contact during Auth
2024-03-05 10:10:15 -05:00
Michael Vogel
89ffe6875f
Merge pull request #13942 from MrPetovan/bug/fix-api-fixture
Fix API fixture data
2024-03-02 05:48:19 +01:00
Michael
e394a6b0fa Issue 13819: Ensure to not use OEmbed if not wanted 2024-02-29 07:37:58 +00:00
Hypolite Petovan
0d922b75af Use public contact ids where they should be used in API fixture data 2024-02-27 08:41:51 -05:00
Hypolite Petovan
ba0a8069c4 Normalize local node hostname across API fixtures
- This was causing the fixture data to be wrongly "repaired" in Model\User::getOwnerDataById because of a mismatch between the local base URL and the fixture-provided self contact URL
2024-02-27 08:41:51 -05:00
Hypolite Petovan
d37699bc08 Throw Not Found exception when $uid doesn't exist in Factory\Api\Twitter\User->createFromUserId
- Contact::getPublicIdByUserId() wrongly returns 0 when $uid doesn't exist, which is an existing albeit invalid record.
2024-02-27 08:41:51 -05:00
Hypolite Petovan
5b5c9ddc74 Deprecate use of [*] BBCode tag for list items in favor of [li]
- It is conflicting with Markdown syntax
2024-02-09 20:33:42 -05:00
Michael
b948b2c7cb Added tests 2024-01-28 06:56:25 +00:00
Hypolite Petovan
e8c256bcff [Composer] Bump guzzlehttp/guzzle to version 7 to suppress deprecation notices
- Bump divineomega/password_exposed to version 3 to remove dependency on Guzzle version 6
- Add new ICanHandleHttpResponses->getBodyString method to solve inheritance mismatch with GuzzleHttp\Psr7\ResponseInterface->getBody return type
2024-01-12 08:42:46 -05:00
Michael
89e7420237 Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
Michael
9b73189e1d Renamed function name 2023-12-05 19:55:27 +00:00
Michael
0aa49510b2 Changed uri 2023-12-05 07:44:01 +00:00
Michael
691e0dd44a Added another test case 2023-12-05 07:36:13 +00:00
Michael
8e91db7fb1 Fix test again 2023-12-05 06:02:38 +00:00
Michael
2e0c550ee7 Fixed test 2023-12-05 05:57:38 +00:00
Michael
be2e715eb1 Added test 2023-12-05 05:51:39 +00:00
gudzpoz
37188c76b8 Fix substituting smilies and smilies containing whitespaces 2023-11-25 23:29:39 +08:00
gudzpoz
d493946ba4 Allow using punctuation chars as smiley delimiters 2023-11-16 13:31:31 +08:00
gudzpoz
d45e9d6af2 Require whitespace around smilies and normalize federating text 2023-11-16 00:25:11 +08:00
Philipp
32ac54d830
Fix SmiliesTest
Reduce noise because of wrong '<?php' test-data
2023-10-15 21:29:53 +02:00
Philipp
4bcf5e07c0
Adjust InstallerTest 2023-10-15 15:49:02 +02:00
Michael Vogel
c98a0a99a6
Merge pull request #13530 from MrPetovan/bug/json-error-factory-error
Move jsonError out of Factory\Api\Mastodon\Error
2023-10-14 19:35:49 +02:00
Michael
19529e2aa1 Merge remote-tracking branch 'upstream/2023.09-rc' into smilies 2023-10-12 20:49:20 +00:00