Balázs Úr
e56a53647b
Update copyright
2022-01-02 08:27:47 +01:00
Philipp
fa55928ea3
Replace own VoidLogger with PSR-Standard NullLogger()
2021-10-28 20:01:03 +02:00
Philipp
184f6cc255
Restructure Logger to new paradigm
2021-10-28 20:01:02 +02:00
Philipp
b216317477
Refactoring Core class structures ...
2021-10-26 22:11:09 +02:00
Philipp
ab83d0dd27
Restructure (P)Config to follow new paradigm
2021-10-26 22:11:06 +02:00
Philipp
ef1e2ce77e
Cleanup tests
...
- Remove DBAMockTrait
- Remove DBStructureMockTrait
2021-10-18 20:08:40 +02:00
Matthew Exon
4858993024
Add error message when setting config to existing value
2021-05-01 21:10:10 +02:00
Philipp
02e6dff6a0
Fix tests
...
- Fix InstallerTest case
- Fix native function mocking
- Add returntype for Unit-Tests
- Fixing ExtendedPDO test troubles
- Fix wrong class inheritance path for DatabaseTestTrait.php
- Fix SyslogLogger Server Exception for PHP8
- Add user/contact to database.fixture.php
- Avoid invalid rollbacks for test setup in PHP8
2021-04-04 20:11:57 +02:00
Balázs Úr
054c301ef0
Update copyright
2021-03-29 08:40:20 +02:00
Michael
6b4245d662
Test the test
2021-01-17 21:39:42 +00:00
Michael
730a287b30
Testing why tests are failing
2021-01-16 23:45:43 +00:00
Philipp
d55ecb9288
Fix a lot of notices/warnings/deprecation notes in the test directory
2020-10-18 20:52:27 +02:00
Philipp
efaec26b1d
Fix wrong $this->assert...()
with `self::assert...()
2020-10-18 20:52:27 +02:00
Tobias Diekershoff
97df01c938
update the test of the help text
2020-08-07 11:49:25 +02:00
nupplaPhil
27fc506dcf
Add lint check in travis-ci
2020-02-10 00:55:17 +01: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
2838635d64
Move L10n class from L10n subdir to Core (replacing old wrapper)
2020-01-19 16:31:30 +01:00
nupplaPhil
17adcb5483
Rename mock-methods
2020-01-07 00:57:30 +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
08be92a862
Moved BaseURL to App namespace (because similar type as Arguments/Modules/Modes)
2019-08-15 17:23:00 +02:00
Philipp Holzer
d95457cf61
Add Lock test
2019-08-15 14:26:05 +02:00
Philipp Holzer
a60eb9e33d
Use DICE for Console
...
- Use Friendica\Core\Console as Controller for DI-library
- Refactor every console command to use DICE (when possible)
- Adjusting tests
2019-07-31 19:37:42 +02:00
Hypolite Petovan
b03d1fece5
Update ServerBlock console test
2019-07-26 21:16:28 -04:00
Hypolite Petovan
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
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
d533e819e2
temporary deactivate console installation tests due complex mocking situation.
2019-07-10 22:33:26 +02:00
Philipp Holzer
79fe3c92c7
Fixing Installer - ReplaceMacro
2019-06-07 00:36:10 +02:00
Philipp Holzer
d716a3326f
Move Console namespace one level up
2019-05-02 23:17:35 +02:00