chore(tests): UT for Browser auth

Signed-off-by: Rubén D <nuxsmin@syspass.org>
This commit is contained in:
Rubén D
2023-11-12 10:12:10 +01:00
parent a193276519
commit 7eff3307e8
3 changed files with 356 additions and 10 deletions

View File

@@ -33,11 +33,11 @@ use SP\Domain\User\Services\UserLoginResponse;
*/
class UserLoginData
{
protected string $loginUser;
protected string $loginPass;
protected UserLoginResponse $userLoginResponse;
protected ?string $loginUser = null;
protected ?string $loginPass = null;
protected ?UserLoginResponse $userLoginResponse = null;
public function getLoginUser(): string
public function getLoginUser(): ?string
{
return $this->loginUser;
}
@@ -47,7 +47,7 @@ class UserLoginData
$this->loginUser = $login;
}
public function getLoginPass(): string
public function getLoginPass(): ?string
{
return $this->loginPass;
}
@@ -57,7 +57,7 @@ class UserLoginData
$this->loginPass = $loginPass;
}
public function getUserLoginResponse(): UserLoginResponse
public function getUserLoginResponse(): ?UserLoginResponse
{
return $this->userLoginResponse;
}