@Theill11 yii unit tests need an application instance. At least it is possible to mock one so the config must be available.