Skip to content

Commit

Permalink
fix: add service getter private method
Browse files Browse the repository at this point in the history
  • Loading branch information
shaveko committed Nov 27, 2024
1 parent f202f09 commit 7e3817a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions actions/class.Tests.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
use oat\generis\model\resource\exception\ResourceDeletionException;
use oat\tao\model\resources\Exception\PartialClassDeletionException;
use oat\tao\model\Lists\Business\Validation\DependsOnPropertyValidator;
use oat\tao\model\Translation\Service\TranslationSyncService;

/**
* Tests Controller provide actions performed from url resolution
Expand Down Expand Up @@ -332,4 +333,9 @@ private function getResourceDeleter(): ResourceDeleterInterface
{
return $this->getPsrContainer()->get(ResourceDeleter::class);
}

private function getTranslationSyncService(): TranslationSyncService
{
return $this->getPsrContainer()->get(TranslationSyncService::class);
}
}

0 comments on commit 7e3817a

Please sign in to comment.