Commit Graph

24 Commits

Author SHA1 Message Date
Philipp d0536ebea7
Rename ISelectableStorage to IWritableStorage 2021-08-16 23:27:42 +02:00
Philipp 470ba8b61b
Fixup Database behaviour 2021-08-16 23:27:42 +02:00
Philipp 90c99520bb
Fix Storage Exceptions 2021-08-16 23:27:42 +02:00
Michael 9ce43ad21d Tests 2021-07-27 06:22:37 +00:00
Philipp dda817cad8
Replace expectExceptionMessageRegExp() with expectExceptionMessageMatches() 2021-05-23 23:09:49 +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
Hypolite Petovan c644d76d28 Allow setting arbitrary keys in the cookie array 2021-01-23 05:42:58 -05: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
Philipp 7413b362f5
Add basic process tests 2020-09-17 22:15:33 +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 abc6a8ce34
skip impossible test-scenario 2020-01-10 13:22:02 +01:00
nupplaPhil 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)
2020-01-10 13:21:57 +01:00
nupplaPhil c1dbb25656
Creating interfaces for Config/PConfig & fix tests 2019-12-29 20:18:19 +01:00
nupplaPhil b82294826d
fix CookieTest 2019-12-11 20:49:53 +01:00
nupplaPhil 94a8a60841
Add more Cookie tests (create new StaticCookie class for mocking setcookie()) 2019-12-09 22:47:08 +01:00
nupplaPhil 54392fab81
Move Cookie to own class (with tests)
Move Authentication to App namespace
2019-12-08 22:45:34 +01:00
Hypolite Petovan 1e90d8efce Add tests for Model\FileTag fileToArray and arrayToFile methods. 2019-05-28 17:05:29 -04:00
Philipp Holzer def502ae2d
Fix namespaces 2019-02-27 12:32:56 +01:00
Philipp Holzer 61971287c4
Fixing tests 2018-11-08 08:11:27 +01:00
Philipp Holzer 8ad721988b
Refactoring identities to Model\User::identities 2018-11-08 00:38:55 +01:00