Commit Graph

20 Commits

Author SHA1 Message Date
Hypolite Petovan ba0a8069c4 Normalize local node hostname across API fixtures
- This was causing the fixture data to be wrongly "repaired" in Model\User::getOwnerDataById because of a mismatch between the local base URL and the fixture-provided self contact URL
2024-02-27 08:41:51 -05:00
Michael 89e7420237 Friendica copyright changed from 2023 to 2034 2024-01-02 20:57:26 +00:00
Philipp Holzer e1813e3d73
Restructure tests
- Avoid database leftovers
2023-02-13 20:52:24 +01:00
Philipp Holzer a153c3f594
Fix and adapt tests 2023-02-12 13:09:14 +01:00
Hypolite Petovan 1874a32728 Happy New Year 2023! 2023-01-01 09:36:24 -05:00
Balázs Úr e56a53647b Update copyright 2022-01-02 08:27:47 +01:00
Michael 27b9da3df5 replace "p" with higher level database functions 2021-10-12 05:53:29 +00:00
Philipp Holzer ea4b066df3
Fix DBA::lock() testability because of "autocommits" 2021-05-24 22:37:16 +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
Michael 1a9df263ed Reactivating tests, fixing stuff 2020-05-15 20:52:01 +00:00
Michael 45f76db5d6 Deactivating test 2020-05-15 20:47:09 +00:00
Michael b2e56d0224 Moved class call 2020-05-15 19:26:52 +00:00
Michael 0b94300f29 Fixed call 2020-05-15 19:24:24 +00:00
Michael 434ce00d19 Add testmode 2020-05-15 19:16:14 +00:00
Michael 29f99c134d Avoid database error because of duplicated entries 2020-05-15 15:50:02 +00:00
Michael 2138c4bb55 Avoid "Invalid argument supplied for foreach()" 2020-05-15 15:30:43 +00:00
Michael 8868b7f8d9 Skip invalid table names 2020-05-15 15:16:34 +00:00
nupplaPhil 7d714319c8
Add license info at Friendica PHP files 2020-02-09 16:34:23 +01:00
Philipp Holzer d56bd28a07
Refactor Cache/Lock to DICE
- Refactor Cache classes
- Refactor Lock classes
- Improved test speed (removed some seperate class annotations)
2019-08-03 20:51:58 +02:00