Commit Graph

24 Commits

Author SHA1 Message Date
Philipp Holzer dda817cad8
Replace `expectExceptionMessageRegExp()` with `expectExceptionMessageMatches()` 2021-05-23 23:09:49 +02:00
Philipp Holzer 93c8fdcbd4
Make tests PHPUnit 6.0 compatible 2021-05-16 23:39:03 +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
Philipp Holzer 4b38b6aa16
Adapt tests for PhpUnit 7.5 2021-04-04 19:13:40 +02:00
Philipp Holzer b983559980
Fix Object parsing for Logging 2021-04-01 20:55:25 +02:00
Balázs Úr befc2af504
Merge branch '2021.03-rc' into copyright-2021 2021-03-29 08:45:21 +02:00
Balázs Úr 054c301ef0 Update copyright 2021-03-29 08:40:20 +02:00
Philipp Holzer b61b3cb182
Fix object handling inside log arrays 2021-03-28 21:50:32 +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
Hypolite Petovan 121bb85719 Remove expected third parameter value to saveTimestamp() in Util\ProfilerLogger test 2020-07-27 04:20:46 -04:00
nupplaPhil 23c64b9a11
Add license info at Friendica classes 2020-02-09 15:45:36 +01:00
Philipp Holzer 6b2c28e2d7
Add checks & realpath() usage
- New util class "FileSystem"
- Add check in admin summary too
2019-10-22 22:47:37 +02:00
Philipp Holzer c65d574ac3
enable codecov 2019-09-30 14:03:14 +02:00
Philipp Holzer e3e3c1ef28
Some new tests and fixings 2019-09-30 14:03:13 +02:00
Philipp Holzer fdb3b26eea Added close test 2019-03-22 23:13:27 -04:00
Philipp Holzer f63956851b Adding Logger Tests 2019-03-22 23:13:26 -04:00
Philipp Holzer aee348fa02 Adding Logger Tests 2019-03-22 23:13:26 -04:00
Philipp Holzer eec4ee3fed Rename & Testfix 2019-03-22 23:13:25 -04:00
Philipp Holzer 7658916540 Added StreamLoggerTest 2019-03-22 23:13:24 -04:00
Philipp Holzer 2b53784094
Reuse existing Strings::getRandomHex function 2019-02-27 18:32:25 +01:00
Philipp Holzer def502ae2d
Fix namespaces 2019-02-27 12:32:56 +01:00
Philipp Holzer 5fc42a744e
Replace string namespaces with ::class 2019-02-24 13:40:54 +01:00
Philipp Holzer ee37632695
Adding worker id & functionname to worker logs 2019-02-22 20:10:27 +01:00