Skip to content

Commit

Permalink
NGSTACK-842 use class constants for geting service from container
Browse files Browse the repository at this point in the history
  • Loading branch information
petarjakopec committed Jun 25, 2024
1 parent 192a844 commit 90af924
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/bundle/Integration/BaseTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ protected function provideCases(): iterable
protected function getScheduledVisibilityService(): ScheduledVisibilityService
{
/** @var \Netgen\Bundle\IbexaScheduledVisibilityBundle\Service\ScheduledVisibilityService $service */
$service = $this->getSetupFactory()->getServiceContainer()->get('Netgen\Bundle\IbexaScheduledVisibilityBundle\Service\ScheduledVisibilityService');
$service = $this->getSetupFactory()->getServiceContainer()->get(ScheduledVisibilityService::class);

return $service;
}
Expand Down

0 comments on commit 90af924

Please sign in to comment.