浏览代码

Correctif namespace User

feature/souke
Guillaume Bourgeois 9 个月前
父节点
当前提交
b66194efa7
共有 3 个文件被更改,包括 3 次插入3 次删除
  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 查看文件

@@ -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 查看文件

@@ -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 查看文件

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

正在加载...
取消
保存