Skip to content
Snippets Groups Projects
Commit e7ecf68c authored by Dries Buytaert's avatar Dries Buytaert
Browse files

Issue #1899862 by sun: Fixed WebTestBase::() does not have a uid.

parent ac40edf3
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
...@@ -747,6 +747,7 @@ protected function setUp() { ...@@ -747,6 +747,7 @@ protected function setUp() {
// @see install.php, install.core.inc // @see install.php, install.core.inc
$connection_info = Database::getConnectionInfo(); $connection_info = Database::getConnectionInfo();
$this->root_user = (object) array( $this->root_user = (object) array(
'uid' => 1,
'name' => 'admin', 'name' => 'admin',
'mail' => 'admin@example.com', 'mail' => 'admin@example.com',
'pass_raw' => $this->randomName(), 'pass_raw' => $this->randomName(),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment