Setup Yii app for tests