Commit graph

28 commits

Author SHA1 Message Date
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
Michael
97bddc25af Only disable PDO for versions lower than 7.3 2020-11-08 17:45:50 +00:00
Michael
f23ec66801 Disable PDO for the AppMode test as well 2020-11-08 17:26:20 +00:00
Michael
b0cf539048 Another test to disable PDO for tests 2020-11-08 17:13:12 +00:00
Michael
b8c647f65a Male the tests work again with PHP 7.2 2020-11-08 16:47:41 +00:00
Michael
15b71edbd6 Test database error 2020-11-08 07:29:13 +00:00
Michael
9b95722fba Removed unneded parentheses 2020-11-07 12:45:04 +00:00
Michael
eb8caaa5e7 Restore the connection check 2020-11-07 11:44:39 +00:00
Michael
1e52c430e6 Fix assertion messages 2020-11-07 11:26:56 +00:00
Michael
335a122c81 The tests had been split 2020-11-07 11:02:23 +00:00
Michael
dadd73ba31 Syntax error fixed 2020-11-07 10:46:08 +00:00
Michael
2ba0d884a0 Added mode tests 2020-11-07 10:45:38 +00:00
Michael
8baac61212 Test connection 2020-11-07 09:37:57 +00:00
Michael
9d804f655e Database text no checks for database driver 2020-11-07 09:02:21 +00: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
d5a473abda
Shorten "PConfiguration" to "PConfig" again, since the Wrapper is gone 2020-01-19 22:23:44 +01:00
nupplaPhil
cb80108957
Shorten "Configuration" to "Config" again, since the Wrapper is gone 2020-01-19 21:29:36 +01:00
nupplaPhil
c1dbb25656
Creating interfaces for Config/PConfig & fix tests 2019-12-29 20:18:19 +01:00
nupplaPhil
1408908c84
Refactor Session Handling (make it more simple & handler are now handler again) 2019-12-11 20:30:31 +01:00
Philipp Holzer
5442dfa21e
remove constructor parameter 2019-08-06 07:43:13 +02:00
Philipp Holzer
2e65b96cb4
Revert ProfilerTest 2019-08-05 09:22:06 +02:00
Philipp Holzer
9682cc440c
Using method-chaining for DICE 2019-08-05 09:03:12 +02:00
Philipp Holzer
34e4968c06
Adding possibility to use a different cache-backend for locking and caching
- Renaming *LockDriver to *Lock since it isn't a "driver" anymore
2019-08-04 15:42:39 +02:00
Philipp Holzer
71bc37c1c1
Fix DI-check test 2019-07-24 12:48:29 +02:00
Philipp Holzer
55999730e0
Introduce DICE
- Adding dice library
- Adding dependency config

- Removing Factories
- Refactoring App\Mode constructor
- Refactoring App\Router constructor
- Refactoring BasePath for DI usage
- Refactoring ConfigFileLoader constructor
- Refactoring Profiler constructor

- Adjust entrypoints (index, console, worker, ..)

- Adding functional test for DI
- Fix tests because of refactorings
2019-07-21 01:22:10 +02:00