Commit Graph

470 Commits (88bb66371cc4679a4ea00d1d9c26063f09bb5782)

Author SHA1 Message Date
Philipp Holzer 1c49f1169f
Fix tests (remove superfluous second parameter) 3 years ago
Philipp Holzer ca8ca05051
Add legacy backend storage functionality 3 years ago
Philipp Holzer 3e72e8015b
Improve impossible exception-handler for storage move 3 years ago
Philipp Holzer 732992a296
Improve impossible exception-handler for storage move 3 years ago
Philipp Holzer 9bb5891645
Fix loading SystemResource files 3 years ago
Hypolite Petovan 36190d1e79
Merge pull request #8072 from nupplaphil/task/Cache_to_DI
Replace Core\Cache wrapper with DI::cache() method
3 years ago
Philipp Holzer d3ab1db29a
Remove annotations and fix test.. 3 years ago
Philipp Holzer 016cfcd846
Fixings
- Rename "facStorage" to "storageManager"
- Fix indentation
- Fix tests
3 years ago
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
3 years ago
Philipp Holzer abc6a8ce34
skip impossible test-scenario 3 years ago
Philipp Holzer dbd5b5bb6e
- Fixing SystemResource
- Adding tests for StorageManager
- Updating doc
3 years ago
Philipp Holzer 08edeae2f9
Make Storage testable & add tests
- Making StorageManager dynamic (DI::facStorage())
- Making concrete Storage dynamic (DI::storage())
- Add tests for Storage backend and failure handling
- Bumping Level-2/Dice to "dev-master" until new release
- Using Storage-Names instead of Storage-Classes in config (includes migration)
3 years ago
Hypolite Petovan b8f85f0484
Merge pull request #8075 from annando/html-escaping
Fix: removed unneeded HTML escaping
3 years ago
Michael 7f2356c7fe Tests, still ongoing ... 3 years ago
Michael b9b19f7744 tests ... 3 years ago
Michael a2af9f55a9 Reverted notify, changed test 3 years ago
Michael e80234d20a Corrected test 3 years ago
Michael 6133ccb1b6 Tests, next try 3 years ago
Michael 5bc4d24e70 Removed tests 3 years ago
Michael d07760f629 Added test files, don't know if this works 3 years ago
Philipp Holzer 17adcb5483
Rename mock-methods 3 years ago
Philipp Holzer a38b0f7eaf
Move remaining namespaces and delete Core\Cache.php 3 years ago
Philipp Holzer 31457b8566
Replace Lock::release() with DI::lock()->release() and remove Core\Lock 3 years ago
Philipp Holzer 634e657d23
Replace Lock::acquire() with DI::lock()->acquire() 3 years ago
Philipp Holzer 244f440d97
Remove unused killme() 3 years ago
Philipp Holzer f0eea6f875
Remove get_app() in favor of DI::app() 3 years ago
Philipp Holzer 3f34229752
Move redundant System::baseUrl() to DI::baseUrl() calls 3 years ago
Philipp Holzer 04d1827eae
Fix test 3 years ago
Philipp Holzer e428bccefb
Add output for installerTest 3 years ago
Philipp Holzer 9cb48b0e12
Adapt test for mockery assertion 3 years ago
Philipp Holzer 8a072b7fb3
Fix mock test (remove "implicit" usage of previous Dice-setups) 3 years ago
Philipp Holzer c1dbb25656
Creating interfaces for Config/PConfig & fix tests 3 years ago
Philipp Holzer 4835f1185f
Remove deprecated App::module - replace with DI::module()->getName() 3 years ago
Philipp Holzer 388b963714
Replace BaseObject class with DI::* calls 3 years ago
Philipp Holzer 1de3f186d7
Introduce new DI container
- Adding Friendica\DI class for getting dynamic classes
- Replacing BaseObject::getApp() with this class
3 years ago
Hypolite Petovan 39a537c415 Added test for BBCode to Markdown chevron issue
- See https://github.com/friendica/friendica/issues/7808

Add tests
4 years ago
Tobias Diekershoff 00756737b5 Merge branch 'master' 2019.12 into develop 4 years ago
Michael 30dfbb95d9 Remove legacy function 4 years ago
Hypolite Petovan c88e76e427 Update tests related to api_ff_ids
- Use new parameter
- Use new empty return
4 years ago
Philipp Holzer b82294826d
fix CookieTest 4 years ago
Philipp Holzer 1408908c84
Refactor Session Handling (make it more simple & handler are now handler again) 4 years ago
Philipp Holzer 64977cc589
Fix codecov exclude list 4 years ago
Philipp Holzer 02c40ad1cb
Overwrite constructor of Memory session handling so no session ini-setting in backend/testing environments are possible 4 years ago
Philipp Holzer af1299c697
Add memory session for API tests 4 years ago
Philipp Holzer b9f8762eb3
Use Native Session functions (global "$_SESSION" variable) for Memory class because of the direct usage of the $_SESSION class all around the codebase 4 years ago
Philipp Holzer 94a8a60841
Add more Cookie tests (create new StaticCookie class for mocking setcookie()) 4 years ago
Philipp Holzer 54392fab81
Move Cookie to own class (with tests)
Move Authentication to App namespace
4 years ago
Michael 164e6b350d API: Improve attachment removal functionality for the status text 4 years ago
Hypolite Petovan 134d6d18f9 Pass Router parameter to module content method 4 years ago
Michael 695a920d40 Making tests happy 4 years ago