diff --git a/core/modules/user/src/Tests/UserAccountFormFieldsTest.php b/core/modules/user/src/Tests/UserAccountFormFieldsTest.php index df01adc..e242a07 100644 --- a/core/modules/user/src/Tests/UserAccountFormFieldsTest.php +++ b/core/modules/user/src/Tests/UserAccountFormFieldsTest.php @@ -79,6 +79,10 @@ function testUserEditForm() { // Install default configuration; required for AccountFormController. $this->installConfig(array('user')); + // Install the router table and then rebuild. + $this->installSchema('system', ['router']); + \Drupal::service('router.builder')->rebuild(); + $form = $this->buildAccountForm('default'); // Verify name and pass field order.