Commit graph

1333 commits

Author SHA1 Message Date
Art4
cb6269eddb Fix path to tests 2024-12-14 07:55:22 +00:00
Art4
346b42fba5 Fix use statements 2024-12-14 07:55:22 +00:00
Art4
5430d65799 rename DatabaseTest to DatabaseTestCase 2024-12-14 07:55:22 +00:00
Art4
42b543cd24 rename FixtureTest to FixtureTestCase 2024-12-14 07:55:22 +00:00
Art4
ee579280c7 Rename MockedTest to MockedTestCase 2024-12-14 07:55:22 +00:00
Art4
9a28eee477 Add suffix for PHPUnit test cases 2024-12-14 07:55:22 +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
eb04f3b079 Merge branch 'develop' into merge-2024.09-rc-branch 2024-11-16 08:32:25 +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
82a95367ae fix code style 2024-11-10 00:23:35 +00:00
Art4
221dad7663 Merge branch 'improve-tests' into add-static-code-analysis 2024-11-10 00:20:29 +00:00
Art4
5305286312 Improve phpunit testsuites, add script for unit tests 2024-11-10 00:12:47 +00:00
Art4
bbf7e4a936 Fix code style 2024-11-09 23:56:59 +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
35c01b9685 Fix code style 2024-11-09 10:08:40 +00:00
Art4
256ed12b51 Move test into Unit test namespace 2024-11-08 08:17:27 +00:00
Art4
dc80d35088 Fix cs 2024-11-08 08:15:03 +00:00
Art4
1c3a33ab49 Fix namespace 2024-11-08 08:01:07 +00:00
Art4
0bb8e3af80 add test for Preferences class 2024-11-04 13:22:26 +01: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
Hypolite Petovan
4a0b989386
Merge pull request #14094 from mexon/mat/testing-doc
update testing documentation
2024-04-14 21:58:26 -04:00
Matthew Exon
619a63af6b update testing documentation 2024-04-14 11:11:00 +02: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