Ver código fonte

Correctif namespace User

feature/souke
Guillaume Bourgeois 9 meses atrás
pai
commit
b66194efa7
3 arquivos alterados com 3 adições e 3 exclusões
  1. +1
    -1
      frontend/forms/PasswordResetRequestForm.php
  2. +1
    -1
      frontend/forms/ResetPasswordForm.php
  3. +1
    -1
      tests/codeception/common/fixtures/UserFixture.php

+ 1
- 1
frontend/forms/PasswordResetRequestForm.php Ver arquivo

@@ -59,7 +59,7 @@ class PasswordResetRequestForm extends Model
['email', 'required'],
['email', 'email'],
['email', 'exist',
'targetClass' => '\logic\User\User\User',
'targetClass' => 'domain\User\User\User',
'message' => 'There is no user with such email.'
],
];

+ 1
- 1
frontend/forms/ResetPasswordForm.php Ver arquivo

@@ -50,7 +50,7 @@ class ResetPasswordForm extends Model
public $password;

/**
* @var \logic\User\User\User
* @var domain\User\User\User
*/
private $_user;


+ 1
- 1
tests/codeception/common/fixtures/UserFixture.php Ver arquivo

@@ -9,5 +9,5 @@ use yii\test\ActiveFixture;
*/
class UserFixture extends ActiveFixture
{
public $modelClass = 'logic\User\User\User';
public $modelClass = 'domain\User\User\User';
}

Carregando…
Cancelar
Salvar