public function boot() { if (config('modules.register.translations', true) === true) { $this->registerTranslation(); } $this->fireEvent('boot'); }
/** @test */ public function it_loads_module_translations() { $this->module->boot(); $this->assertEquals('Recipe', trans('recipe::recipes.title.recipes')); }