Commit Graph

19 Commits

Author SHA1 Message Date
Michael 52378eb298 Fighting with the tests 2021-07-25 04:56:40 +00:00
Michael 12c63c9b97 Tests 2021-07-25 04:52:17 +00:00
Michael 0dd0de1eb3 Init class 2021-07-25 04:44:23 +00:00
Michael 2aa2c61479 Lock before recreate / fix cache key misspelling 2021-07-25 04:31:48 +00: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
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 7d705417a9 Adjust testModuleClass() expectations after introducing lastRoutesFileModifiedTime cache key 2020-10-15 12:41:49 -04:00
Hypolite Petovan ce04c13ea8 Update App\Router-related tests after constructor signature change 2020-07-27 02:33:08 -04:00
nupplaPhil 23c64b9a11
Add license info at Friendica classes 2020-02-09 15:45:36 +01:00
Hypolite Petovan d1be68b754 Move Module\Profile to Module\Profile\Index
- Move /profiles to Module\Settings\Profile\Index
2020-01-22 19:42:32 -05:00
Philipp Holzer f9d0e57f91
Fix tests & Router is now using Dependency Injection instead of DI Registry 2020-01-19 22:38:33 +01:00
Hypolite Petovan 134d6d18f9 Pass Router parameter to module content method 2019-11-06 22:35:28 -05:00
Hypolite Petovan 6fd301a891 Remove irrelevant test in App\RouterTest
- HTTP Methods other than POST are coerced into GET in App\Router constructor
2019-10-13 10:16:38 -04:00
Hypolite Petovan 8748bfd8ad Fix Router tests related to unallowed methods 2019-10-13 07:54:50 -04:00
Hypolite Petovan 4ee9e21a4f Make Router::getModuleClass throw exceptions
- Add new MethodNotAllowedModule
- Add new Module->determineClass catch blocks
- Update Module and Router tests
2019-10-11 19:59:05 -04:00
Philipp Holzer 0e5cb88888
Add router config
- Introduce route.config.php structure
- Adding config loader for routes
- Adapt Module class (separation of duties)
- Add tests
2019-09-29 11:57:27 +02:00
Hypolite Petovan 7383511855 Added test case for Router->getModuleClass 2019-04-04 07:30:48 -04:00