Commit graph

114 commits

Author SHA1 Message Date
Michael e706f82a3c Whitespaces 2021-05-24 04:36:30 +00:00
Michael 436d5b4759 Merge branch 'http-input-data' of github.com:annando/friendica into http-input-data 2021-05-24 04:33:46 +00:00
Michael 49c2431f1f Two (hopefully) easy tests added 2021-05-24 04:33:42 +00:00
Philipp Holzer 15216266d9
Add ContentType Injection for HTTPInputData tests 2021-05-23 22:40:41 +02:00
Michael 102e05124d Changed variable type 2021-05-23 19:59:51 +00:00
Michael 2d15587744 coding standards 2021-05-23 19:54:14 +00:00
Michael 4889687659 Set the content type at another location 2021-05-23 19:50:02 +00:00
Michael d758f58ff2 Coding standards 2021-05-23 19:37:31 +00:00
Michael a0c52a8253 Added real test data 2021-05-23 19:34:28 +00:00
Philipp Holzer c064a39341
Adapt tests using a content file 2021-05-23 20:30:27 +02:00
Philipp Holzer a0da84b6b0
Enable testability for HTTPInputData and create a failing test for it :-) 2021-05-23 19:58:09 +02:00
Philipp Holzer 93c8fdcbd4
Make tests PHPUnit 6.0 compatible 2021-05-16 23:39:03 +02:00
Philipp Holzer 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
Philipp Holzer 4b38b6aa16
Adapt tests for PhpUnit 7.5 2021-04-04 19:13:40 +02:00
Philipp Holzer b983559980
Fix Object parsing for Logging 2021-04-01 20:55:25 +02:00
Balázs Úr befc2af504
Merge branch '2021.03-rc' into copyright-2021 2021-03-29 08:45:21 +02:00
Balázs Úr 054c301ef0 Update copyright 2021-03-29 08:40:20 +02:00
Philipp Holzer b61b3cb182
Fix object handling inside log arrays 2021-03-28 21:50:32 +02:00
Hypolite Petovan 9c0549128b Make frio the default theme 2021-03-01 10:20:44 -05:00
Hypolite Petovan 9e4a0bf212 Added new test for JsonLD::fetchElementArray type matching 2020-11-11 11:19:27 -05:00
Philipp Holzer 8f0afa6399
Fix StringTest 2020-10-18 20:52:27 +02:00
Philipp Holzer d55ecb9288
Fix a lot of notices/warnings/deprecation notes in the test directory 2020-10-18 20:52:27 +02:00
Philipp Holzer efaec26b1d
Fix wrong $this->assert...() with `self::assert...() 2020-10-18 20:52:27 +02:00
Philipp Holzer 30bc65e81e
Remove whitespace before ":" of mail headers 2020-09-28 19:22:29 +02:00
Philipp Holzer fae7256d82
wrong annotation for preserverGlobalState .. 2020-09-23 19:46:24 +02:00
Philipp Holzer 3eaaf716e9
just log double message IDs, don't discard the email 2020-09-23 19:38:20 +02:00
Philipp Holzer e2b736d0a9
Fix phpmailer (Case sensitive Check) 2020-09-22 22:48:34 +02:00
Hypolite Petovan a852455d0e Merge remote-tracking branch 'friendica/stable' into develop
# Conflicts:
#	composer.lock
2020-09-20 15:32:58 -04:00
Philipp Holzer ac1d2cf38f
Transform email header string to header array & replace it at various situations. 2020-09-19 20:16:55 +02:00
Philipp Holzer 4db45aca06
Fix indentation .. again ;-) 2020-09-14 06:34:03 +02:00
Philipp Holzer 9d9489494e
Format/name changes 2020-09-13 10:53:15 +02:00
Philipp Holzer 90346f61ba
Replace library/ASNValue.class.php with phpseclib functions 2020-09-12 20:54:37 +02:00
Philipp Holzer 11ef3895f5
Replace library/asn1.php with phpseclib 2020-09-12 20:44:36 +02:00
Philipp Holzer e4263f6fe5
Fix PSR-0 for test classes 2020-09-11 19:38:41 +02:00
Hypolite Petovan 121bb85719 Remove expected third parameter value to saveTimestamp() in Util\ProfilerLogger test 2020-07-27 04:20:46 -04:00
Hypolite Petovan a81e169f45 Add unencrypted header test for HTTPSignature::parseSigheader 2020-07-14 09:52:07 -04:00
Hypolite Petovan 348b71d0b0 Add new Strings::performWithEscapedBlocks methods
- Add new BBCode::performWithEscapedTags method
- Add tests
2020-06-08 18:40:20 -04:00
Michael 8823cbf9c4 Ensure that empty arrays are returned as empty arrays 2020-06-07 08:49:53 +00:00
Michael 8868bc3b55 The more tests the better? 2020-06-07 08:39:00 +00:00
Michael bc616a142b There is always one last test ... 2020-06-07 08:29:19 +00:00
Michael 1f36c655e1 Two more tests 2020-06-07 08:24:08 +00:00
Michael 775437cb1c Another test added 2020-06-07 08:15:04 +00:00
Michael 11404646db Fix test 2020-06-06 19:53:26 +00:00
Michael 0799b721c9 Just some more tests added 2020-06-06 14:59:28 +00:00
Michael 699429ab08 Added test for fetching arrays 2020-06-06 14:16:27 +00:00
Michael 95d997c79d Added tests for JsonLD class 2020-06-06 12:53:36 +00:00
Hypolite Petovan dcf59e34c1 Add new Strings::substringReplace method
- Add tests for the method
2020-03-30 10:49:53 -04:00
nupplaPhil 7d714319c8
Add license info at Friendica PHP files 2020-02-09 16:34:23 +01:00
nupplaPhil 85dc9bb96b
Add license info at Friendica PHP files 2020-02-09 16:18:46 +01:00
nupplaPhil 23c64b9a11
Add license info at Friendica classes 2020-02-09 15:45:36 +01:00