fixed all tests

This commit is contained in:
Antonio Ramirez
2016-12-11 21:34:22 +01:00
parent 4588d77129
commit 4c9b9671b5
37 changed files with 214 additions and 135 deletions

View File

@ -39,7 +39,7 @@ class TokenQuery extends ActiveQuery
*/
public function whereIsConfirmationType()
{
return $this->andWhere(['type' => Token::TYPE_CONFIRM_NEW_EMAIL]);
return $this->andWhere(['type' => Token::TYPE_CONFIRMATION]);
}
/**