Parcourir la source

Correctif namespace User

feature/souke
Guillaume Bourgeois il y a 9 mois
Parent
révision
b66194efa7
3 fichiers modifiés avec 3 ajouts et 3 suppressions
  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 Voir le fichier

@@ -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 Voir le fichier

@@ -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 Voir le fichier

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

Chargement…
Annuler
Enregistrer