Implemented more tests for user

This commit is contained in:
Kevin Frantz
2018-11-04 12:40:57 +01:00
parent 577f30e0f7
commit 60a071c428
4 changed files with 40 additions and 0 deletions

View File

@@ -54,6 +54,7 @@ class User extends BaseUser implements UserInterface
parent::__construct();
$this->isActive = true;
$this->source = new UserSource();
$this->source->setUser($this);
//LawModificator::grantAllRights($this->source->getNode()->getLaw(), $this->source->getNode());
}
}