Commit graph

30 commits

Author SHA1 Message Date
Michael
72bc1238ba Tests 2021-07-27 06:17:24 +00:00
Michael
6360c960e6 Tests again 2021-07-25 20:49:10 +00:00
Michael
2b41b322bc Tests 2021-07-25 20:45:09 +00:00
Balázs Úr
054c301ef0 Update copyright 2021-03-29 08:40:20 +02:00
Philipp
d55ecb9288
Fix a lot of notices/warnings/deprecation notes in the test directory 2020-10-18 20:52:27 +02:00
Hypolite Petovan
c6ba92c43d Refactor template engine code
- Convert ITemplateEngine interface to abstract class
- Remove dependency to App in FriendicaSmarty and FriendicaSmartyEngine
- Normalize replaceMacro parameter behavior using Smarty template string prefixes
- Remove obsolete FriendicaSmarty->parsed method
- Update unused Smarty directory paths
2020-05-18 01:18:41 -04:00
nupplaPhil
23c64b9a11
Add license info at Friendica classes 2020-02-09 15:45:36 +01:00
nupplaPhil
d5a473abda
Shorten "PConfiguration" to "PConfig" again, since the Wrapper is gone 2020-01-19 22:23:44 +01:00
nupplaPhil
cb80108957
Shorten "Configuration" to "Config" again, since the Wrapper is gone 2020-01-19 21:29:36 +01:00
nupplaPhil
1c49f1169f
Fix tests (remove superfluous second parameter) 2020-01-18 13:48:29 +01:00
nupplaPhil
c1dbb25656
Creating interfaces for Config/PConfig & fix tests 2019-12-29 20:18:19 +01:00
nupplaPhil
388b963714
Replace BaseObject class with DI::* calls 2019-12-29 20:17:38 +01:00
Philipp Holzer
07aaf292ec
Fix tests 2019-07-27 23:54:13 +02:00
Philipp Holzer
438c903c7a
Remove obsolete getAll() call during mocking 2019-07-15 09:42:21 +02:00
Philipp Holzer
4913502922
bugfix: add lost changes due merge 2019-07-14 22:12:45 +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
3a0664d827
fixing auto install tests 2019-04-14 14:23:58 +02:00
Philipp Holzer
90a38a00d8
Adding basepath, urlpath, hostname and ssl_policy to installation 2019-04-14 14:23:06 +02:00
Philipp Holzer
d4b23ca8b9 Fixing some AutomaticInstallationConsoleTests 2019-03-22 23:25:23 -04:00
Philipp Holzer
c5973beca4 Fixing some AutomaticInstallationConsoleTests 2019-03-22 23:25:23 -04:00
Philipp Holzer
acd5060ec2 Fixed ConsoleTest 2019-03-22 23:23:50 -04:00
Philipp Holzer
f5adbd268b
Fixing tests 2019-02-17 21:41:45 +01:00
Philipp Holzer
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
Philipp Holzer
cb791024e4
Refactor ConfigMockTrait to mocked ConfigCache 2019-02-07 20:44:03 +01:00
Philipp Holzer
90e88d6c35
Bugfixing AutomaticInstallation test 2019-02-04 00:04:16 +01:00
Philipp Holzer
83ead5ec48
Test enhancements 2018-11-01 13:44:47 +01: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
764e1a3cb6
Fixing issue L10n::t() 2018-10-31 12:37:52 +01:00
Philipp Holzer
70e240691e
Moved Mocking usage
Adding more documentation
2018-10-31 10:39:50 +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