瀏覽代碼

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';
}

Loading…
取消
儲存