nextcloud/tests/lib/appframework
Lukas Reschke 770fa761b8 Respect mod_unique_id and refactor OC_Request::getRequestId
When `mod_unique_id` is enabled the ID generated by it will be used for logging. This allows for correlation of the Apache logs and the ownCloud logs.

Testplan:

- [ ] When `mod_unique_id` is enabled the request ID equals the one generated by `mod_unique_id`.
- [ ] When `mod_unique_id` is not available the request ID is a 20 character long random string
- [ ] The generated Id is stable over the lifespan of one request

Changeset looks a little bit larger since I had to adjust every unit test using the HTTP\Request class for proper DI.

Fixes https://github.com/owncloud/core/issues/13366
2015-02-09 11:53:11 +01:00
..
controller Respect mod_unique_id and refactor OC_Request::getRequestId 2015-02-09 11:53:11 +01:00
db Make remaining files extend the test base 2014-11-19 14:53:59 +01:00
dependencyinjection Respect mod_unique_id and refactor OC_Request::getRequestId 2015-02-09 11:53:11 +01:00
http Respect mod_unique_id and refactor OC_Request::getRequestId 2015-02-09 11:53:11 +01:00
middleware Respect mod_unique_id and refactor OC_Request::getRequestId 2015-02-09 11:53:11 +01:00
routing Merge pull request #12294 from owncloud/route-postfix 2014-11-24 16:32:54 +01:00
utility Intelligent container 2014-12-23 09:50:42 +01:00
AppTest.php Intelligent container 2014-12-23 09:50:42 +01:00