Commit graph

939 commits

Author SHA1 Message Date
Art4
a583cc9b0e replace more calls of DI::app(), add workaround for tests 2024-12-18 21:19:01 +00:00
Art4
ba65cad1cd Replace DI::app() with DI::appHelper() in more tests 2024-12-18 21:06:55 +00:00
Art4
b2a383a9cb Replace DI::app() with DI::appHelper() in Module\Api\Friendica namespace tests 2024-12-18 20:55:39 +00:00
Art4
b60f9863c6 clean use statements 2024-12-15 21:51:22 +00:00
Art4
f8bb565fa5 Rename StorageTest with StorageTestCase 2024-12-15 21:36:40 +00:00
Art4
8401b5b0ee rename StorageConfigTest to StorageConfigTestCase 2024-12-15 21:32:23 +00:00
Art4
b09fb1047f Rename AbstractLoggerTest to LoggerTestCase 2024-12-15 21:28:34 +00:00
Art4
75632a1490 Rename LockTest to LockTestCase 2024-12-15 21:15:21 +00:00
Art4
a676e738e0 Rename MemoryCacheTest to MemoryCacheTestCase 2024-12-15 21:09:57 +00:00
Art4
0826cb50bd Rename CacheTest to CacheTestCase 2024-12-15 21:06:49 +00:00
Art4
75fee6784e Rename PConfigTest to PConfigTestCase 2024-12-15 16:13:53 +00:00
Art4
f3f52efe18 Inline KeyValueStorageTest into DBKeyValueStorageTest 2024-12-14 21:33:16 +00:00
Art4
54ee36a6aa Rename ConsoleTest to ConsoleTestCase 2024-12-14 08:16:37 +00:00
Art4
9f8023b91f rename and move ApiTest to ApiTestCase 2024-12-14 07:56:34 +00:00
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
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