mirror of
https://github.com/nuxsmin/sysPass.git
synced 2026-03-09 09:56:56 +01:00
* [ADD] Unit testing. Work in progress
* [MOD] Code refactoring
This commit is contained in:
@@ -29,7 +29,6 @@ use SP\Core\Events\EventMessage;
|
||||
use SP\Core\Exceptions\SPException;
|
||||
use SP\Core\Exceptions\ValidationException;
|
||||
use SP\Http\JsonResponse;
|
||||
use SP\Http\Request;
|
||||
use SP\Modules\Web\Controllers\Helpers\LayoutHelper;
|
||||
use SP\Modules\Web\Controllers\Traits\JsonTrait;
|
||||
use SP\Repositories\Track\TrackRequest;
|
||||
@@ -204,6 +203,6 @@ class UserPassResetController extends ControllerBase
|
||||
protected function initialize()
|
||||
{
|
||||
$this->trackService = $this->dic->get(TrackService::class);
|
||||
$this->trackRequest = TrackService::getTrackRequest('userPassReset', $this->dic->get(Request::class));
|
||||
$this->trackRequest = $this->trackService->getTrackRequest($this->controllerName);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user