Skip to content

Commit

Permalink
Fix controller deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
dannyvw committed Jan 1, 2020
1 parent 604b94c commit 7684ea0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Bundle/spec/Controller/ResourceControllerSpec.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
use Sylius\Component\Resource\Model\ResourceInterface;
use Sylius\Component\Resource\Repository\RepositoryInterface;
use Sylius\Component\Resource\ResourceActions;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\DependencyInjection\ParameterBag\ParameterBagInterface;
use Symfony\Component\Form\Form;
Expand Down Expand Up @@ -101,7 +101,7 @@ function let(

function it_extends_base_Symfony_controller(): void
{
$this->shouldHaveType(Controller::class);
$this->shouldHaveType(AbstractController::class);
}

function it_throws_a_403_exception_if_user_is_unauthorized_to_view_a_single_resource(
Expand Down

0 comments on commit 7684ea0

Please sign in to comment.