diff --git a/config/optional/views.view.automatic_updates_log.yml b/config/optional/views.view.automatic_updates_log.yml index f0a144a..4e82bcc 100644 --- a/config/optional/views.view.automatic_updates_log.yml +++ b/config/optional/views.view.automatic_updates_log.yml @@ -312,7 +312,7 @@ display: position: 1 display_options: display_extenders: { } - path: admin/reports/automatic_update_log + path: admin/reports/automatic_updates_log menu: type: normal title: 'Automatic updates log' diff --git a/tests/src/Functional/LogPageTest.php b/tests/src/Functional/LogPageTest.php index 78865cd..532c579 100644 --- a/tests/src/Functional/LogPageTest.php +++ b/tests/src/Functional/LogPageTest.php @@ -4,7 +4,6 @@ namespace Drupal\Tests\automatic_updates\Functional; use Drupal\Tests\BrowserTestBase; - /** * Tests access permission to log page. * @@ -16,13 +15,13 @@ class LogPageTest extends BrowserTestBase { * {@inheritdoc} */ protected static $modules = [ + 'views', + 'dblog', 'automatic_updates', - 'test_automatic_updates', - 'update', ]; /** - * A user with permission to administer site configuration. + * A user with permission to administer software updates. * * @var \Drupal\user\UserInterface */ @@ -45,7 +44,7 @@ class LogPageTest extends BrowserTestBase { * Tests that the log page is displayed. */ public function testLogPageExists() { - $this->drupalGet('admin/reports/update_log'); + $this->drupalGet('admin/reports/automatic_updates_log'); $this->assertSession()->statusCodeEquals(200); }