Commit graph

135 commits

Author SHA1 Message Date
9627af924a
Add support for toString/Serializable 2023-01-21 19:42:48 +01:00
4c28f9cf9c
Config: Improve the node.config.php transformation
- Add more types
- Improvement for assoziative arrays and key-value arrays
- Add a lot more tests
2023-01-15 00:53:51 +01:00
dd88d193b9
Escape single quotes and backslashes 2023-01-03 15:36:36 +01:00
5ff1d431aa
add another test 2023-01-03 14:22:06 +01:00
326566638f
adapt tests 2023-01-03 14:22:03 +01:00
fea4b202c1
Introduce ConfigFileTransformer for Config files 2023-01-03 14:22:02 +01:00
1874a32728 Happy New Year 2023! 2023-01-01 09:36:24 -05:00
91c4ab2359 Add new xpathQuote and checkRelMeLink methods to Content\Text\HTML class
- Add tests for both methods
2022-12-23 02:41:22 -05:00
55640eec87 [Composer] Upgrade to phpseclib version 3
- Create custom Key file format for Salmon Magic key
- Remove obsolete pemToME and MEtoPem Crypto methods
- Remove unused newECKeypair Crypto method
- Switch to constant-time Base64 encode/decode in Base64Url Strings methods
2022-11-25 08:13:05 -05:00
9aa05eb911 Deprecate themes duepuntozero, quattro and smoothly 2022-11-05 00:06:10 -04:00
da66730e4f
Rewrite:
- moved constants GRAVITY_* from boot.php to Friendica\Model\Item
- also rewrote some array initialization:

From:
````
<?php
$arr = [];
$arr['foo'] = "FOO";
````

To:
````
<?php
$arr['foo'] = "FOO";
````
- added a few type-hints
2022-10-15 00:44:06 +02:00
b7cee324b0 Add legacy notification endpoint for deprecated Notify entity
- Add dependencies to Notifications\Notification module class
2022-03-14 07:56:21 -04:00
b3622e74b2 Add required notify field to contacts in API test fixture 2022-02-23 21:30:18 -05: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
c03ddf0891
Move API Status tests 2021-12-30 21:52:18 +01:00
6412484fa6
Move API DirectMessage tests 2021-12-30 21:07:20 +01:00
5d69f7411d
Add MessageDirect\Search tests 2021-12-27 20:02:37 +01:00
e9d8af89c2
Make PHP-CS happy ;-) 2021-12-09 22:55:15 +01:00
d9949610c5
Reenable Twitter/Create&Destory tests 2021-12-09 22:45:52 +01:00
df1aabd304
Fix dataset 2021-12-05 20:34:01 +01:00
9081b37762
Fix Twitter statuses list & reenable tests 2021-12-05 20:34:01 +01:00
cc7b2fae4e
Re-enable AccountVerifyCredentials test 2021-12-05 20:33:59 +01:00
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
cf2ada64da Adding test data 2021-11-21 06:31:04 +00:00
8bf61848f9
Fix Legacy test 2021-11-15 00:01:16 +01:00
63da4a75e9 The boot.php had been cleared of most functions 2021-11-04 20:29:59 +00:00
caa977c24e
adapt fixture 2021-10-18 23:32:46 +02:00
47acb6a278 Move notify to the new paradigm
- Remove unused frion notify template
- Update API test
2021-10-02 18:15:42 -04:00
fabrixxm
eadcc8dc93 Handle reading empty file in ReversedFileReader
fix #10766
2021-09-27 12:14:19 +02:00
3eb2abdb2a
Adapt tests 2021-08-25 14:22:42 +02:00
52c7948526
Create HTTPClientFactory and introduce ImageTest 2021-08-25 14:22:42 +02:00
9eba32226c
make CS happy :) 2021-08-20 22:11:36 +02:00
803c1d71de
Fix IHTTPResult::getHeader()
- Now returns a string array, like expected
- Fix usages
- Fix dataset
2021-08-20 19:58:42 +02:00
dee1899628
Fix IHTTPResult::getHeader/s()
- Split functionality "getHeader()" and "getHeaders()" analog to IMessageInterface::getHeader/s()
- Fix functionality at various places - Adapt CurlResultTest
2021-08-20 19:58:42 +02:00
fabrixxm
ce0d7616cc Add tests for ParsedLogIterator 2021-08-19 14:57:04 +02:00
e0fdde3287 Fix the tests, hopefully 2021-07-09 17:13:54 +00:00
3dc5912886 Test with file (will fail) 2021-05-24 04:56:03 +00:00
70d93d7e4f Reverting previous commit 2021-05-24 04:45:24 +00:00
f151b4571d Media ids with content 2021-05-24 04:42:20 +00:00
49c2431f1f Two (hopefully) easy tests added 2021-05-24 04:33:42 +00:00
a0c52a8253 Added real test data 2021-05-23 19:34:28 +00:00
c064a39341
Adapt tests using a content file 2021-05-23 20:30:27 +02:00
1bcfa714a1
Make tests PHPUnit 6.0 compatible 2021-05-16 23:22:44 +02:00
02e6dff6a0
Fix tests
- Fix InstallerTest case
- Fix native function mocking
- Add returntype for Unit-Tests
- Fixing ExtendedPDO test troubles
- Fix wrong class inheritance path for DatabaseTestTrait.php
- Fix SyslogLogger Server Exception for PHP8
- Add user/contact to database.fixture.php
- Avoid invalid rollbacks for test setup in PHP8
2021-04-04 20:11:57 +02:00
Balázs Úr
054c301ef0 Update copyright 2021-03-29 08:40:20 +02:00
9c0549128b Make frio the default theme 2021-03-01 10:20:44 -05:00
e1c1744dd1 "wall" in test data 2021-02-15 12:43:23 +00:00
0f84148413 Some more test data tests 2021-02-15 12:40:05 +00:00
69d2a7e55d Previous stuff reverted 2021-02-15 06:55:41 +00:00