You are here

protected function DbLogTest::clearLogsEntries in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/dblog/tests/src/Functional/DbLogTest.php \Drupal\Tests\dblog\Functional\DbLogTest::clearLogsEntries()
  2. 9 core/modules/dblog/tests/src/Functional/DbLogTest.php \Drupal\Tests\dblog\Functional\DbLogTest::clearLogsEntries()

Clear the entry logs by clicking on 'Clear log messages' button.

File

core/modules/dblog/tests/src/Functional/DbLogTest.php, line 288

Class

DbLogTest
Generate events and verify dblog entries; verify user access to log reports based on permissions.

Namespace

Drupal\Tests\dblog\Functional

Code

protected function clearLogsEntries() {
  $this
    ->drupalGet(Url::fromRoute('dblog.confirm'));
}