Skip to content
Snippets Groups Projects

Issue #3488863 by claudiu.cristea, alorenc: An unpredictable pipeline failure

Merged Issue #3488863 by claudiu.cristea, alorenc: An unpredictable pipeline failure
Merged Claudiu Cristea requested to merge cherry-pick-00ac139c into 3.0.x
1 file
+ 4
1
Compare changes
  • Side-by-side
  • Inline
@@ -30,13 +30,16 @@ trait PrivateMessageTestTrait {
*/
protected function createTestingUsers(int $amount = 2): void {
$keys = array_map(fn(int $i): string => chr($i + 96), range(1, $amount));
$randomGenerator = $this->getRandomGenerator();
foreach ($keys as $key) {
$firstName = ucfirst($randomGenerator->word(rand(5, 9)));
$lastName = ucfirst($randomGenerator->word(rand(5, 9)));
$values = FieldConfig::loadByName(
'user',
'user',
'full_name'
) ? ['full_name' => $this->randomString()] : [];
) ? ['full_name' => "$firstName $lastName"] : [];
$this->users[$key] = $this->createUser([
'use private messaging system',
Loading