Commit Graph

30 Commits

Author SHA1 Message Date
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
fabrixxm 7f695197aa Fix review points
- Fix headers hierarchy
- Improve accessibility:
 	- set mouse pointer
	- make rows focusable
	- open on key press
	- add tooltip with "title"
	- add role and aria attributes
- Rename `ParsedLog` to `ParsedLogLine`
- Add docs to `ReversedFileReader`'s implementation of `Iterator`'s methods
- Add docs to `ParsedLogIterator`'s implementation of `Iterator`'s methods
- Remove unnecessary comment
- Add more test for parsing log lines and fix some edge cases
- Fix function name in snake-case to camelCase
- Remove `DIRECTORY_SEPARATOR`
2021-08-20 11:02:18 +02:00
fabrixxm 5520f100b2 Fix `ParsedLogIteratorTest::setUp()` 2021-08-19 15:26:26 +02:00
fabrixxm dd2abc7aff Fix code standard 2021-08-19 15:20:25 +02:00
fabrixxm ce0d7616cc Add tests for ParsedLogIterator 2021-08-19 14:57:04 +02:00
Philipp Holzer d0536ebea7
Rename ISelectableStorage to IWritableStorage 2021-08-16 23:27:42 +02:00
Philipp Holzer 470ba8b61b
Fixup Database behaviour 2021-08-16 23:27:42 +02:00
Philipp Holzer 90c99520bb
Fix Storage Exceptions 2021-08-16 23:27:42 +02:00
Michael 9ce43ad21d Tests 2021-07-27 06:22:37 +00:00
Philipp Holzer dda817cad8
Replace `expectExceptionMessageRegExp()` with `expectExceptionMessageMatches()` 2021-05-23 23:09:49 +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
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 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 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
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 abc6a8ce34
skip impossible test-scenario 2020-01-10 13:22:02 +01:00
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)
2020-01-10 13:21:57 +01:00
Philipp Holzer c1dbb25656
Creating interfaces for Config/PConfig & fix tests 2019-12-29 20:18:19 +01:00
Philipp Holzer b82294826d
fix CookieTest 2019-12-11 20:49:53 +01:00
Philipp Holzer 94a8a60841
Add more Cookie tests (create new StaticCookie class for mocking setcookie()) 2019-12-09 22:47:08 +01:00
Philipp Holzer 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