Address D11 depreciation in test using createUser()
Closes #3471323
In the tests run with Drupal 11 and Commerce 3 the test fails due to these lines in Kernel\AcceptJsPaymentMethodTest.php
$user = $this->createUser(['mail' => $this->randomString() . '@example.com']);
The function createUser() expects permissions to be the first argument
It looks like passing values as the first parameter is depreciated in D11 https://www.drupal.org/node/3330762