public function setUp() { EmailMessageTestHelper::purgeAllMessages(); parent::setUp(); $this->user = User::getByUsername('super'); Yii::app()->user->userModel = $this->user; }
public function setUp() { EmailMessageTestHelper::purgeAllMessages(); parent::setUp(); $this->user = User::getByUsername('super'); Yii::app()->user->userModel = $this->user; }