Commit graph

83 commits

Author SHA1 Message Date
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
Philipp Holzer 5f9065e00a
smaller about.body 2018-10-11 22:21:05 +02:00
Philipp Holzer b099cba4b4
CurlResult Tests & RegEx fix 2018-10-11 22:18:27 +02:00
Philipp Holzer 00bf0c24b6
CurlResult Tests 2018-10-11 21:19:38 +02:00
Hypolite Petovan 4efcd47807 Put base test config in Yaml dataset 2018-07-16 19:38:16 -04:00
Hypolite Petovan b2b984433c Fix dataset ids for otheruser/frienduser
Remove debug
2018-07-03 23:37:52 -04:00
Hypolite Petovan d31e3b16ff Fix boolean values in test data 2018-07-03 21:22:10 -04:00
Hypolite Petovan 18eb13a598 Fix API test cases
- Add meaningful app->argv/c
- Add support for subfolder install
- Add meaningful image URL from placeholder.com
- Fix incomplete test testApiHelpTestWithXml()
- Use $this->frienduser for direct messages tests
- Fix dataset to have an actual contact relationship
2018-07-02 07:49:29 -04:00
Michael eca43895e1 Fixing tests 2018-06-09 21:46:35 +00:00
Michael f316e96bd1 Now the dataset is said to be valid again. 2018-06-03 16:11:05 +00:00
Michael 09c1b44381 Someone else has to fix this 2018-06-03 11:42:23 +00:00
Michael e232ccf9e0 Trying around ... 2018-06-03 11:38:03 +00:00
Michael 946bfd79ff Just one more ... 2018-06-03 11:29:09 +00:00
Michael 9ade6c2b33 The testdata hadn't contained public contacts 2018-06-03 11:20:22 +00:00
Michael e48b2a3dad Reverting it ... 2018-06-03 11:12:09 +00:00
Michael 058d755372 I guess I broke the test tool :-) 2018-06-03 11:07:24 +00:00
Michael e392491e94 Next try ;-) 2018-06-03 10:58:03 +00:00
Michael b33578c137 Additional data for the test tool 2018-06-03 10:47:40 +00:00
Pierre Rudloff 6a654df444 Add a new contact to test rel=2 in tests
See https://github.com/friendica/friendica/pull/5022#discussion_r187416029
2018-05-10 22:21:55 +02:00
Pierre Rudloff 3195d6e125 Add API tests 2018-05-10 19:12:00 +02:00