mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-19 07:12:26 +02:00
✅ Fix CI (PHP8.4)
This commit is contained in:
@@ -1472,7 +1472,7 @@ abstract class ItopDataTestCase extends ItopTestCase
|
|||||||
* @return string The unique login
|
* @return string The unique login
|
||||||
* @throws \Exception
|
* @throws \Exception
|
||||||
*/
|
*/
|
||||||
protected function GivenUserInDB(string $sPassword, array $aProfiles, string $sLogin = null, string &$sUserId = null): string
|
protected function GivenUserInDB(string $sPassword, array $aProfiles, ?string $sLogin = null, ?string &$sUserId = null): string
|
||||||
{
|
{
|
||||||
if (is_null($sLogin)) {
|
if (is_null($sLogin)) {
|
||||||
$sLogin = 'demo_test_'.uniqid(__CLASS__, true);
|
$sLogin = 'demo_test_'.uniqid(__CLASS__, true);
|
||||||
|
|||||||
Reference in New Issue
Block a user