Commit Graph

24 Commits

Author SHA1 Message Date
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 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
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
Balázs Úr 054c301ef0 Update copyright 2021-03-29 08:40:20 +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
nupplaPhil 23c64b9a11
Add license info at Friendica classes 2020-02-09 15:45:36 +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 2838635d64
Move L10n class from L10n subdir to Core (replacing old wrapper) 2020-01-19 16:31:30 +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
Philipp Holzer dbd5b5bb6e
- Fixing SystemResource
- Adding tests for StorageManager
- Updating doc
2020-01-10 13:21:58 +01:00