Commit graph

69 commits

Author SHA1 Message Date
Michael
c3398511b4 New table "post-content" 2021-01-30 22:03:53 +00:00
Michael
8deabf5c2e Providing more test data 2021-01-28 23:17:58 +00:00
Hypolite Petovan
82e094179c Rename notify classes according the feature name, not the table name 2021-01-24 09:33:23 -05:00
Michael
ff8b578cde Fix the test data / unused function removed 2021-01-17 22:20:46 +00:00
Michael
270d1aeb41 Improve the test data 2021-01-17 22:08:08 +00:00
Michael
6b4245d662 Test the test 2021-01-17 21:39:42 +00:00
Michael
d78892fc1b Improved API datasets 2021-01-17 14:57:55 +00:00
Michael
3d4a1a8083 Added "parent-uri-id" to the test data 2021-01-17 12:12:26 +00:00
Michael
730a287b30 Testing why tests are failing 2021-01-16 23:45:43 +00:00
Michael
bd91bb21b9 No causer in threads 2021-01-16 07:21:02 +00:00
Michael
352f1fcae2 Hopefully make the tests happy 2021-01-16 07:13:32 +00:00
Michael
818c064c0a The notifications parameters are now simplified 2020-11-25 19:56:39 +00:00
Philipp
069753416d
Revert "Fix IHTTPResult::getHeader/s() - Split functionality "getHeader()" and "getHeaders()" analog to IMessageInterface::getHeader/s() - Fix functionality at various places - Adapt CurlResultTest"
This reverts commit 933ea7c9
2020-10-11 23:26:03 +02:00
Philipp
0449077126
Revert "Fix IHTTPResult::getHeader() - Now returns a string array, like expected - Fix usages - Fix dataset"
This reverts commit 80bd0a4d
2020-10-11 23:25:40 +02:00
Philipp
80bd0a4d5a
Fix IHTTPResult::getHeader()
- Now returns a string array, like expected
- Fix usages
- Fix dataset
2020-10-10 23:11:30 +02:00
Philipp
933ea7c9ce
Fix IHTTPResult::getHeader/s()
- Split functionality "getHeader()" and "getHeaders()" analog to IMessageInterface::getHeader/s()
- Fix functionality at various places
- Adapt CurlResultTest
2020-10-10 23:11:30 +02:00
Philipp
11ef3895f5
Replace library/asn1.php with phpseclib 2020-09-12 20:44:36 +02:00
Philipp
3c35901380
Fix "location" entry for contacts in API test dataset 2020-08-21 16:11:37 +02:00
Hypolite Petovan
2b83ec6784 Add more expected data to test fixtures 2020-06-22 17:49:20 -04:00
Hypolite Petovan
5bfbc1224c [Tests] Add test for Module\Api\Twitter\ContactEndpoint
- Add necessary fixture data
2020-06-09 08:39:37 -04:00
Michael
19f2a998d2 Added new field to the test data 2020-05-29 02:25:17 +00:00
Michael
68d3dc1fcc Fix code 2020-05-15 20:58:40 +00:00
Michael
1a9df263ed Reactivating tests, fixing stuff 2020-05-15 20:52:01 +00:00
Michael
d70b77288d Call the initial value check in the test 2020-05-15 18:08:06 +00:00
Michael
1efcee030e More missing table entries for tests 2020-05-15 16:17:37 +00:00
Michael
77b4d5fc5f Added test data 2020-05-15 16:00:00 +00:00
Michael
1ec3cc2fdc Fixing test again? 2020-05-02 23:16:42 +00:00
Michael
f291b96cbc Fixing tests 2020-05-02 22:49:47 +00:00
Michael
53b0401d6a Fix tests - hopefully 2020-04-26 16:25:46 +00:00
Hypolite Petovan
b100b9600e Add rel="noopener noreferrer" to all target="_blank" links
See https://mathiasbynens.github.io/rel-noopener/
2020-02-24 20:07:34 -05:00
nupplaPhil
7d714319c8
Add license info at Friendica PHP files 2020-02-09 16:34:23 +01:00
nupplaPhil
5ccf41a56f
Add API test case for notification 2020-01-28 22:00:21 +01:00
nupplaPhil
dbd5b5bb6e
- Fixing SystemResource
- Adding tests for StorageManager
- Updating doc
2020-01-10 13:21:58 +01:00
Hypolite Petovan
d32de58e34 Add test case to avoid trimming empty image tags 2019-08-06 21:22:46 -04:00
Hypolite Petovan
d1db9bc8e6 Add test case for hashtag link list space removal 2019-08-06 08:21:26 -04:00
Hypolite Petovan
515935b241 Add test case for this bug
- Fix whitespaces in MarkdownTest
2019-08-04 10:24:25 -04:00
Philipp Holzer
df9ebf5e8e
Replace api.yml to api.fixture.php
- Remove yaml dependency
- Add PHP array based fixture possibility
2019-07-28 20:46:29 +02:00
Philipp Holzer
b08ac3c0a7
Remove Phpunit/Dbunit
- Introduce own Yaml-to-SQL class
- Introduce new way of MySQL-DB-tests (per rollback)
- Remove dependency phpunit/dbunit
- Introduce new dev-dependency for YAML-ready (Symfony YAML reader)
2019-07-28 17:40:42 +02:00
Philipp Holzer
92fb0a82ca
Dynamic config loading
- Move settings, defaults and dbstructure to directory 'static'
- Dynamic loading of config files (after the static loading)
- Filter out '-sample.config.php' and '-sample.ini.php' files
- Remove unnecessary ConfigFileManager
- Move ConfigFileLoader to Utils
- Add tests for multi-loading for INI, config and sample-filtering
2019-07-16 20:16:43 +02:00
Philipp Holzer
e69138039a
fix api dataset for test 2019-04-09 08:41:26 +02:00
Philipp Holzer
3cf0cb71f1
Fixing tests 2019-03-24 20:41:11 +01:00
Philipp Holzer
49def0dc27
Adding ConfigFileSaver and tests 2019-03-24 13:47:35 +01:00
Philipp Holzer
8c6e6b5dea
Fixing .htconfig 2019-03-16 20:31:10 +01:00
Philipp Holzer
1acd5c7d22
- Adding additional legacy .htconfig information 2019-03-16 20:06:53 +01:00
Hypolite Petovan
80ee411f45 Add test for Text\Markdown::convert
- Add folder for Markdown datasets
2019-03-09 23:29:57 -05:00
Philipp Holzer
199ceeadbf
Adding ConfigCacheLoaderTest 2019-02-10 13:39:48 +01:00
Hypolite Petovan
85eb6affdf Unit test fix 2019-01-21 09:39:14 -05:00
Philipp Holzer
4f01a198e1
AutoInstall Test fix
- New Mock for Renderer
- No need of prepared assert.ini.php anymore
- Mocking Renderer during Autoinstall
2018-11-01 10:30:44 +01:00
Philipp Holzer
92d3d77e76
Bufixing environment specific assertion problem 2018-10-31 11:03:15 +01:00
Philipp Holzer
0e22c18a9d
Bugfixing & Enhancement
- Added Mocking Engine for App, DBA, Config
- Using Mocking Engine for AutomaticInstallationConsoleTest
- Using Mocking Engine for ConfigConsoleTest

- Removing MultiUserConsole - Workaround
2018-10-31 10:16:15 +01:00