Skip to content
Snippets Groups Projects
Commit 0b2fd272 authored by Wim Leers's avatar Wim Leers Committed by Ted Bowman
Browse files

Issue #3319768 by Wim Leers: Document why using dblog to query logged messages...

Issue #3319768 by Wim Leers: Document why using dblog to query logged messages in build tests is justified
parent 58fd3ffa
No related branches found
No related tags found
No related merge requests found
......@@ -130,6 +130,12 @@ class CoreUpdateTest extends UpdateTestBase {
public function testCron(string $template): void {
$this->createTestProject($template);
// Install dblog so we can check if any errors were logged during the update.
// This implies one can only retrieve log entries through the dblog UI. This
// seems non-ideal but it is the choice that requires least custom
// configuration or custom code. Using the `syslog` or `syslog_test` module
// or the `@RestResource=dblog` plugin for the `rest` module require
// more additional code than the inflexible log querying via
// `/admin/reports/dblog` below.
$this->installModules(['dblog']);
$this->visit('/admin/reports/status');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment