fix test configuration

This commit is contained in:
Antonio Ramirez
2016-12-11 13:33:40 +01:00
parent 0b71a3e9b3
commit 4588d77129
20 changed files with 152 additions and 137 deletions

View File

@ -238,7 +238,7 @@ class User extends ActiveRecord implements IdentityInterface
*/
public function getProfile()
{
return $this->hasOne($this->getClassMap()->get('Profile'), ['user_id' => 'id']);
return $this->hasOne($this->getClassMap()->get(Profile::class), ['user_id' => 'id']);
}
/**