Commit Graph

21 Commits

Author SHA1 Message Date
Philipp c17bc55158 Introduce InvalidClassStorageException and adapt the code for it 2021-08-16 23:27:42 +02:00
Philipp d0536ebea7 Rename ISelectableStorage to IWritableStorage 2021-08-16 23:27:42 +02:00
Philipp 90c99520bb Fix Storage Exceptions 2021-08-16 23:27:42 +02:00
Philipp 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
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
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
nupplaPhil 23c64b9a11 Add license info at Friendica classes 2020-02-09 15:45:36 +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 ca8ca05051 Add legacy backend storage functionality 2020-01-17 23:55:19 +01:00
nupplaPhil 3e72e8015b Improve impossible exception-handler for storage move 2020-01-17 23:55:18 +01:00
nupplaPhil 732992a296 Improve impossible exception-handler for storage move 2020-01-17 23:55:18 +01:00
nupplaPhil 9bb5891645 Fix loading SystemResource files 2020-01-17 19:31:34 +01:00
nupplaPhil d3ab1db29a Remove annotations and fix test.. 2020-01-10 13:22:04 +01:00
nupplaPhil 016cfcd846 Fixings
- Rename "facStorage" to "storageManager"
- Fix indentation
- Fix tests
2020-01-10 13:22:03 +01:00
nupplaPhil 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
nupplaPhil dbd5b5bb6e - Fixing SystemResource
- Adding tests for StorageManager
- Updating doc
2020-01-10 13:21:58 +01:00