Commit graph

14 commits

Author SHA1 Message Date
433d6abe8c
Refactoring DBA-mocking tests
- Reducing DB-dependencies
- Creating DB-cache mocks
- Creating DB-lock mocks
- Switching to mocked dependencies for Cache/Lock/App
2019-02-02 19:03:15 +01:00
98d90e131d Update install to generate config/local.config.php 2018-11-25 01:44:09 -05:00
6eb6cc94c7 Move config/dbstructure.php to config/dbstructure.config.php 2018-11-25 01:14:44 -05:00
8ad721988b
Refactoring identities to Model\User::identities 2018-11-08 00:38:55 +01:00
83ead5ec48
Test enhancements 2018-11-01 13:44:47 +01:00
70f9d3c596
documentation 2018-11-01 12:48:43 +01:00
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
764e1a3cb6
Fixing issue L10n::t() 2018-10-31 12:37:52 +01:00
92d3d77e76
Bufixing environment specific assertion problem 2018-10-31 11:03:15 +01:00
70e240691e
Moved Mocking usage
Adding more documentation
2018-10-31 10:39:50 +01:00
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
fad99b8619 Switch from dbstructure.json to dbstructure.php 2018-10-22 16:50:55 -04:00
31148e25cf
Changing Friendica\App\Mode from static methods to public methods
- Changing from static methods to public methods
- Adding dev-composer-dependency Mockery for static method mocking (f.e. Config, DBA)
- Adding ModeTest with Mocking
- removing bootstrap from phpunit.xml because of double loading tests\bootstrap.php
2018-10-06 16:27:20 +02:00
Philipp
4eaeea7889 Config Console Tests (#5621)
* Config Console Tests
- `MultiUseConsole` is now a testable console
- `ConsoleTest` is a abstract TestClass for console tests
- `ConfigConsoleTest` tests the config console commands

* disable preserve global state because of smarty

* fixed requires & basepath für Console Test
2018-08-17 19:41:46 +00:00