mirror of
https://github.com/elyby/accounts.git
synced 2025-05-31 14:11:46 +05:30
Fix some tests
This commit is contained in:
@@ -13,7 +13,7 @@ use Yii;
|
||||
class FunctionalTester extends Actor {
|
||||
use FunctionalTesterActions;
|
||||
|
||||
public function amAuthenticated(string $asUsername = 'admin'): int {
|
||||
public function amAuthenticated(string $asUsername = 'admin') { // Do not declare type
|
||||
/** @var Account $account */
|
||||
$account = Account::findOne(['username' => $asUsername]);
|
||||
if ($account === null) {
|
||||
|
Reference in New Issue
Block a user