Commit Graph

130 Commits

Author SHA1 Message Date
Philipp fea4b202c1
Introduce ConfigFileTransformer for Config files 2023-01-03 14:22:02 +01:00
Hypolite Petovan 1874a32728 Happy New Year 2023! 2023-01-01 09:36:24 -05:00
Hypolite Petovan 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
Hypolite Petovan 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
Hypolite Petovan 9aa05eb911 Deprecate themes duepuntozero, quattro and smoothly 2022-11-05 00:06:10 -04:00
Roland Häder 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
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
Hypolite Petovan 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
Philipp c03ddf0891
Move API Status tests 2021-12-30 21:52:18 +01:00
Philipp 6412484fa6
Move API DirectMessage tests 2021-12-30 21:07:20 +01:00
Philipp 5d69f7411d
Add MessageDirect\Search tests 2021-12-27 20:02:37 +01:00
Philipp e9d8af89c2
Make PHP-CS happy ;-) 2021-12-09 22:55:15 +01:00
Philipp d9949610c5
Reenable Twitter/Create&Destory tests 2021-12-09 22:45:52 +01:00
Philipp df1aabd304
Fix dataset 2021-12-05 20:34:01 +01:00
Philipp 9081b37762
Fix Twitter statuses list & reenable tests 2021-12-05 20:34:01 +01:00
Philipp cc7b2fae4e
Re-enable AccountVerifyCredentials test 2021-12-05 20:33:59 +01:00
Philipp 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
Michael cf2ada64da Adding test data 2021-11-21 06:31:04 +00:00
Philipp 8bf61848f9
Fix Legacy test 2021-11-15 00:01:16 +01:00
Michael 63da4a75e9 The boot.php had been cleared of most functions 2021-11-04 20:29:59 +00:00
Philipp caa977c24e
adapt fixture 2021-10-18 23:32:46 +02:00
Hypolite Petovan 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
Philipp 3eb2abdb2a
Adapt tests 2021-08-25 14:22:42 +02:00
Philipp 52c7948526
Create HTTPClientFactory and introduce ImageTest 2021-08-25 14:22:42 +02:00
Philipp 9eba32226c
make CS happy :) 2021-08-20 22:11:36 +02:00
Philipp 803c1d71de
Fix IHTTPResult::getHeader()
- Now returns a string array, like expected
- Fix usages
- Fix dataset
2021-08-20 19:58:42 +02:00
Philipp 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
Michael e0fdde3287 Fix the tests, hopefully 2021-07-09 17:13:54 +00:00
Michael 3dc5912886 Test with file (will fail) 2021-05-24 04:56:03 +00:00
Michael 70d93d7e4f Reverting previous commit 2021-05-24 04:45:24 +00:00
Michael f151b4571d Media ids with content 2021-05-24 04:42:20 +00:00
Michael 49c2431f1f Two (hopefully) easy tests added 2021-05-24 04:33:42 +00:00
Michael a0c52a8253 Added real test data 2021-05-23 19:34:28 +00:00
Philipp c064a39341
Adapt tests using a content file 2021-05-23 20:30:27 +02:00
Philipp 1bcfa714a1
Make tests PHPUnit 6.0 compatible 2021-05-16 23:22:44 +02:00
Philipp 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
Hypolite Petovan 9c0549128b Make frio the default theme 2021-03-01 10:20:44 -05:00
Michael e1c1744dd1 "wall" in test data 2021-02-15 12:43:23 +00:00
Michael 0f84148413 Some more test data tests 2021-02-15 12:40:05 +00:00
Michael 69d2a7e55d Previous stuff reverted 2021-02-15 06:55:41 +00:00
Michael bbdb0de2ad More test data 2021-02-15 06:46:28 +00:00
Michael 6771d69bb1 Added test data 2021-02-15 06:25:41 +00:00
Michael 1778e57baf Missing field in view 2021-02-15 06:14:53 +00:00
Michael 2f84d874a8 Test data for the "verb" table 2021-02-15 05:59:45 +00:00
Michael e1c79a41d9 We now don't store in the "item" table anymore 2021-02-14 20:27:31 +00:00