Skip to content

Commit

Permalink
FOSUserBundle deprecates GroupableInterface used by our BaseModel
Browse files Browse the repository at this point in the history
  • Loading branch information
soyuka committed Apr 9, 2020
1 parent 3492922 commit a5b0d4c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/Bridge/FosUser/EventListenerTest.php
Expand Up @@ -96,6 +96,10 @@ public function testNotUser()
$listener->onKernelView($event->reveal());
}

/**
* @expectedDeprecation Using Groups is deprecated since version 2.2 and will be removed in 3.0.
* @group legacy
*/
public function testSafeMethod()
{
$request = new Request([], [], ['_api_resource_class' => User::class, '_api_item_operation_name' => 'put']);
Expand Down

0 comments on commit a5b0d4c

Please sign in to comment.