Philipp Holzer
7471b7698b
Adapt filesystem tests
2021-10-05 20:29:52 +02:00
Philipp Holzer
b7c262bee6
Fix test
2021-09-12 13:51:03 +02:00
Philipp Holzer
27e4586597
Move path determination logic into the ConfigFactory
2021-09-12 13:44:29 +02:00
Philipp Holzer
5702944116
Add the possibility to use a different configuration directory
2021-09-11 14:33:26 +02:00
Philipp Holzer
3eb2abdb2a
Adapt tests
2021-08-25 14:22:42 +02:00
Philipp Holzer
05ecd1e3d4
Replace IHTTPResult for CurlResult usages
2021-08-20 19:58:42 +02:00
Philipp Holzer
1901716479
Lower complexity for valid backends (replace hashmap with a "simple" name array)
2021-08-16 23:27:43 +02:00
Philipp Holzer
c17bc55158
Introduce InvalidClassStorageException and adapt the code for it
2021-08-16 23:27:42 +02:00
Philipp Holzer
d0536ebea7
Rename ISelectableStorage to IWritableStorage
2021-08-16 23:27:42 +02:00
Philipp Holzer
90c99520bb
Fix Storage Exceptions
2021-08-16 23:27:42 +02:00
Philipp Holzer
29c7552df5
Refactor IStorage
2021-08-16 23:27:42 +02:00
Michael
9ce43ad21d
Tests
2021-07-27 06:22:37 +00:00
Hypolite Petovan
681c7c0187
Add ExternalStorage dependency to StorageManager
...
- Since ExternalStorage isn't instantiated automatically by Dice, we have to provide the dependency manually in StorageManager->getByName
- This requires StorageManager to take one one additional dependency
- Tests are updated with this additional dependency
2021-06-27 23:15:46 -04:00
Tobias Diekershoff
6ea52cfbf8
now...
2021-05-23 09:47:25 +02:00
Tobias Diekershoff
390fa23bce
fix failing test for the installer wizard
2021-05-23 09:43:02 +02:00
Philipp Holzer
93c8fdcbd4
Make tests PHPUnit 6.0 compatible
2021-05-16 23:39:03 +02:00
Philipp Holzer
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
Philipp Holzer
4b38b6aa16
Adapt tests for PhpUnit 7.5
2021-04-04 19:13:40 +02:00
Balázs Úr
befc2af504
Merge branch '2021.03-rc' into copyright-2021
2021-03-29 08:45:21 +02:00
Balázs Úr
054c301ef0
Update copyright
2021-03-29 08:40:20 +02:00
Philipp Holzer
b2a7c5ff6c
Fix JIT Config Adapter caching
2021-03-28 23:28:47 +02:00
Hypolite Petovan
3aeaa4ea82
Add test for program execution function installer check
2021-01-07 09:20:03 -05:00
Philipp Holzer
82dd919ce6
Add redis error message for tests
2020-10-18 21:13:29 +02:00
Philipp Holzer
b4624f87ae
Activate redis
2020-10-18 21:05:19 +02:00
Philipp Holzer
d55ecb9288
Fix a lot of notices/warnings/deprecation notes in the test directory
2020-10-18 20:52:27 +02:00
Philipp Holzer
efaec26b1d
Fix wrong $this->assert...()
with `self::assert...()
2020-10-18 20:52:27 +02:00
Philipp Holzer
b70b9d1139
Revert "Replace IHTTPResult for CurlResult usages"
...
This reverts commit 97167d7b
2020-10-11 23:26:17 +02:00
Philipp Holzer
97167d7b90
Replace IHTTPResult for CurlResult usages
2020-10-10 23:11:30 +02:00
Philipp Holzer
d39ee428f0
Introduce "static/env.config.php" for environment variable mapping to config cache entries
...
- Added new database.port config value (used for MYSQL_PORT)
- Removed now obsolete db environment variable functionality
- Added functionality to load env variables (overwrites DB based cached)
2020-10-06 20:43:29 +02:00
Philipp Holzer
0f3e4255ca
Introduce Config\Cache Source indicators (File, DB, Server Env)
2020-10-04 20:41:31 +02:00
Philipp Holzer
e4263f6fe5
Fix PSR-0 for test classes
2020-09-11 19:38:41 +02:00
Philipp Holzer
672f71a7ff
Disable testImagickNotFound due low impact and test is not working (needs care in the future)
2020-08-19 14:20:07 +02:00
Philipp Holzer
6ad27183a1
Fix Cache tests
2020-08-19 14:20:07 +02:00
nupplaPhil
c51128ad20
Fix tests
2020-07-21 03:19:05 -04:00
nupplaPhil
7d714319c8
Add license info at Friendica PHP files
2020-02-09 16:34:23 +01:00
nupplaPhil
23c64b9a11
Add license info at Friendica classes
2020-02-09 15:45:36 +01:00
Philipp Holzer
f9d0e57f91
Fix tests & Router is now using Dependency Injection instead of DI Registry
2020-01-19 22:38:33 +01:00
Philipp Holzer
d5a473abda
Shorten "PConfiguration" to "PConfig" again, since the Wrapper is gone
2020-01-19 22:23:44 +01:00
Philipp Holzer
cb80108957
Shorten "Configuration" to "Config" again, since the Wrapper is gone
2020-01-19 21:29:36 +01:00
Philipp Holzer
8138b05032
fix L10n path after move
2020-01-19 17:11:48 +01:00
Philipp Holzer
2838635d64
Move L10n class from L10n subdir to Core (replacing old wrapper)
2020-01-19 16:31:30 +01:00
Philipp Holzer
5dfee31108
Move L10n::t() calls to DI::l10n()->t() calls
2020-01-19 16:31:16 +01:00
Philipp Holzer
1c49f1169f
Fix tests (remove superfluous second parameter)
2020-01-18 13:48:29 +01:00
Philipp Holzer
ca8ca05051
Add legacy backend storage functionality
2020-01-17 23:55:19 +01:00
Philipp Holzer
3e72e8015b
Improve impossible exception-handler for storage move
2020-01-17 23:55:18 +01:00
Philipp Holzer
732992a296
Improve impossible exception-handler for storage move
2020-01-17 23:55:18 +01:00
Philipp Holzer
9bb5891645
Fix loading SystemResource files
2020-01-17 19:31:34 +01:00
Philipp Holzer
d3ab1db29a
Remove annotations and fix test..
2020-01-10 13:22:04 +01:00
Philipp Holzer
016cfcd846
Fixings
...
- Rename "facStorage" to "storageManager"
- Fix indentation
- Fix tests
2020-01-10 13:22:03 +01:00
Philipp Holzer
bfae6766bf
Implement Hook::callAll('storage_instance') call for addons and add a description for it.
...
- Remove implicit Dice usage
- Add concrete instance creating
- Adding Hook call for addon instance creating
- Updating doc for Hook
- Updating tests
2020-01-10 13:22:03 +01:00