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
37d03bbeae
Introduce test optimization
...
- Add static connection for whole tests
- Introduce ExtendedPDO class to enable nested transactions
- Add rollback logic for tests to ensure reliability and increase speed
2019-07-27 23:54:13 +02:00
Philipp Holzer
07aaf292ec
Fix tests
2019-07-27 23:54:13 +02:00
Philipp Holzer
55999730e0
Introduce DICE
...
- Adding dice library
- Adding dependency config
- Removing Factories
- Refactoring App\Mode constructor
- Refactoring App\Router constructor
- Refactoring BasePath for DI usage
- Refactoring ConfigFileLoader constructor
- Refactoring Profiler constructor
- Adjust entrypoints (index, console, worker, ..)
- Adding functional test for DI
- Fix tests because of refactorings
2019-07-21 01:22:10 +02:00
0b97b32a59
Merge pull request #7379 from nupplaphil/task/refactor_l10n_for_test
...
Refactor L10n for testing
2019-07-16 16:03:42 -04: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
79e69ee528
Fix language (again ;-) )
2019-07-16 16:50:49 +02:00
Philipp Holzer
eb024a3718
Refactor L10n for testing
...
- Moving L10n to L10n\L10n
- Adding constructor information
- Adding to factory
- simplify/speedup tests
2019-07-16 16:44:47 +02:00
Philipp Holzer
9d98a4ce3a
Refactor PConfiguration
2019-07-15 20:13:53 +02:00
Philipp Holzer
d384663b39
bugfix: add lost changes due merge
2019-07-14 22:19:16 +02:00
Philipp Holzer
c293eadb78
Improve & fixing Tests
2019-07-14 22:12:11 +02:00
Philipp Holzer
a30200083a
BugFix: forgot configCache in ConfigFactory
2019-07-12 23:05:48 +02:00
Philipp Holzer
c82127ffb7
Splitting ConfigCache & PConfigCache
...
- Remove IConfigCache & IPConfigCache
- Add new PConfigCache
- Add missing Logger::init() (bugfixing tests)
2019-07-12 22:53:37 +02:00
Philipp Holzer
082634adbc
Moving from DBA to Database
2019-06-24 09:36:07 +02:00
ba3cd1334a
Fix Api and BaseObject tests
2019-05-02 11:37:09 -04:00
90a38a00d8
Adding basepath, urlpath, hostname and ssl_policy to installation
2019-04-14 14:23:06 +02:00
edd4f06ad0
Adding tests
2019-04-09 08:31:18 +02:00
d6d31f43a1
Add App\Router dependency injection to App
...
- Moved collectRoutes method from App to App\Router
2019-04-05 23:16:12 -04:00
76414a5169
Merge pull request #6920 from nupplaphil/feature/basepath/hostname_config
...
Removing basepath/hostname from admin site settings
2019-03-24 20:15:13 -04:00
23654ce566
Added Update checks
...
- Logging
- Console
- Admin overview
2019-03-24 22:51:30 +01:00
49def0dc27
Adding ConfigFileSaver and tests
2019-03-24 13:47:35 +01:00
383a6715c3
Added first version of ConfigCacheSaver
2019-03-23 19:34:54 +01:00
fb13d0c31b
Add tests for api_status_show
...
- Update test for api_get_last_status()
- Add test class properties declaration
2019-03-23 14:28:54 -04:00
bb78768fb2
Update tests about api_show_status()
...
- Remove testApiStatusShowWithRaw()
- Add testApiGetLastStatus()
- Mark testApiStatusShowWithJson() and testApiStatusShowWithXml() as skipped as they require an item id
2019-03-23 14:28:53 -04:00
1a2527cdba
Move AppMode
2019-03-22 23:22:32 -04:00
25b6db6aca
Moving Profiling to class
2019-03-22 23:07:39 -04:00
8c3aebc376
Bugfixings in Config
...
- replaced usage of "!<unset>!" with null-returns
- fixed bool settings (0/1)
- fixed overriding config-values
- fixed basepath problems
2019-02-22 23:51:13 +01:00
5e5c39b0e1
Refactored DependencyFactory for Profiler
2019-02-17 21:12:12 +01:00
80f1feabe5
Refactoring Logging to use Configuration
2019-02-17 20:43:52 +01:00
eafcf3592d
Config FollowUp
...
- New Configuration (Config is now only holding the instance)
- New PConfiguration (PConfig is now only holding the instance)
- Config & PConfig-Adapter don't need "ConfigCache" anymore
- DB-Connection is now outside App->reload() for better dependency-chaining
2019-02-17 20:40:27 +01:00
68c904bbf4
adding parameter to App
2019-02-16 23:19:54 +01:00
104086215c
Fixing tests
2019-02-05 22:03:07 +01:00
1e0e1674f2
4) Adding Factories to other entrypoints
2019-02-03 22:46:50 +01:00
2e602afd3e
Add Monolog
2019-01-21 10:10:40 -05:00
2f49c4a058
Revert "Add monolog"
2019-01-21 10:08:09 -05:00
6150c2fa9c
Bugfixing
2019-01-21 09:59:11 -05:00
root
061ad380f6
for testApiSearchWithExcludeReplies: q parameter is required.
2019-01-21 09:13:10 -05:00
root
61afd5b3fb
refs #6292
...
APIs show number of comments
- /api/statuses/*_timeline
- /api/search
- /api/favorites
/api/search enhacement
- support exclude_replies parameter
2019-01-21 09:13:09 -05:00
root
ecb28f6e94
# should urlencode to %23
2019-01-21 09:12:36 -05:00
root
9c90cf7caf
ApiTest #6274 #6275
2019-01-21 09:12:36 -05:00
root
8de263df8b
#6275 - q support hashtag search
2019-01-21 09:12:35 -05:00
root
939364f9a0
API - /search #6274
...
- fixed: search result always return empty
- add hashtag search: friendica_tag params
- ApiTest & api.md updated
2019-01-21 09:12:35 -05:00
root
b43dd28b7a
closes #6272
2019-01-21 09:12:33 -05:00
5e1ceb57de
Escape global namespaced get_app() calls
...
- Add deprecated status
2019-01-03 21:27:36 -05:00
503c78e3ef
Another try to make tests run again
2018-11-18 20:59:40 +00:00
68936e8fc0
Possibly fix test
2018-11-18 20:40:10 +00:00
e434ff0196
Test enhancements
2018-11-01 13:45:21 +01:00
83ead5ec48
Test enhancements
2018-11-01 13:44:47 +01:00