Revize cd149dd5
Přidáno uživatelem Ondřej Fibich před téměř 7 roky(ů)
system/libraries/ServiceFactory.php | ||
---|---|---|
return $this->inject('core\SetupService');
|
||
}
|
||
|
||
/**
|
||
* @return \freenetis\service\member\ExpirationCalcService
|
||
*/
|
||
public function injectMemberExpirationCalc()
|
||
{
|
||
return $this->inject('member\ExpirationCalcService');
|
||
}
|
||
|
||
}
|
Také k dispozici: Unified diff
Refs #1076: member expiration date calculation fix. The calc functionality was separate from Members controller to a new Expiration calc service. The new service comes with unit tests which tests the #1076. Additionally this patch comes with some fixes and improvements in already existing unit and integration tests.