Tests: Fix incorrect "createUser" call

Created on 18 November 2024, 4 days ago

Problem/Motivation

In line 160 of EstimatorTest.php, we have an incorrect "createUser" call, which needs to be adjusted:

'uid' => $this->createUser(['mail' => $this->randomString() . '@example.com']),

From the "createUser" method:

Calling createUser() with $values as the first parameter is deprecated in drupal:10.1.0 and will be removed from drupal:11.0.0. Use createUser(array $permissions = [], $name = NULL, $admin = FALSE, array $values = []) instead. See https://www.drupal.org/node/3330762

Steps to reproduce

Proposed resolution

Fix the "createUser" call.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇩🇪Germany Grevil

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024