Remove wrong @group legacy annotations
This commit is contained in:
parent
12f00e3e15
commit
8d84ac34a5
@ -60,8 +60,6 @@ class ConfigurationTest extends TestCase
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @group legacy
|
|
||||||
*
|
|
||||||
* @dataProvider getInterceptRedirectsConfiguration
|
* @dataProvider getInterceptRedirectsConfiguration
|
||||||
*/
|
*/
|
||||||
public function testConfigTreeUsingInterceptRedirects(bool $interceptRedirects, array $expectedResult)
|
public function testConfigTreeUsingInterceptRedirects(bool $interceptRedirects, array $expectedResult)
|
||||||
|
@ -142,8 +142,6 @@ class WebProfilerExtensionTest extends TestCase
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @group legacy
|
|
||||||
*
|
|
||||||
* @dataProvider getInterceptRedirectsToolbarConfig
|
* @dataProvider getInterceptRedirectsToolbarConfig
|
||||||
*/
|
*/
|
||||||
public function testToolbarConfigUsingInterceptRedirects(
|
public function testToolbarConfigUsingInterceptRedirects(
|
||||||
|
@ -28,9 +28,6 @@ class BundleTest extends TestCase
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @group legacy
|
|
||||||
*/
|
|
||||||
public function testGetContainerExtensionWithInvalidClass()
|
public function testGetContainerExtensionWithInvalidClass()
|
||||||
{
|
{
|
||||||
$this->expectException('LogicException');
|
$this->expectException('LogicException');
|
||||||
|
@ -52,7 +52,7 @@ abstract class ObjectLoader extends Loader
|
|||||||
$loaderObject = $this->getObject($parts[0]);
|
$loaderObject = $this->getObject($parts[0]);
|
||||||
|
|
||||||
if (!\is_object($loaderObject)) {
|
if (!\is_object($loaderObject)) {
|
||||||
throw new \LogicException(sprintf('%s:getObject() must return an object: %s returned', \get_class($this), \gettype($loaderObject)));
|
throw new \TypeError(sprintf('%s:getObject() must return an object: %s returned', \get_class($this), \gettype($loaderObject)));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!\is_callable([$loaderObject, $method])) {
|
if (!\is_callable([$loaderObject, $method])) {
|
||||||
|
@ -62,12 +62,9 @@ class ObjectLoaderTest extends TestCase
|
|||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @group legacy
|
|
||||||
*/
|
|
||||||
public function testExceptionOnNoObjectReturned()
|
public function testExceptionOnNoObjectReturned()
|
||||||
{
|
{
|
||||||
$this->expectException('LogicException');
|
$this->expectException(\TypeError::class);
|
||||||
$loader = new TestObjectLoader();
|
$loader = new TestObjectLoader();
|
||||||
$loader->loaderMap = ['my_service' => 'NOT_AN_OBJECT'];
|
$loader->loaderMap = ['my_service' => 'NOT_AN_OBJECT'];
|
||||||
$loader->load('my_service::method');
|
$loader->load('my_service::method');
|
||||||
|
@ -22,9 +22,6 @@ use Symfony\Component\Security\Core\User\UserProviderInterface;
|
|||||||
|
|
||||||
class DaoAuthenticationProviderTest extends TestCase
|
class DaoAuthenticationProviderTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
|
||||||
* @group legacy
|
|
||||||
*/
|
|
||||||
public function testRetrieveUserWhenProviderDoesNotReturnAnUserInterface()
|
public function testRetrieveUserWhenProviderDoesNotReturnAnUserInterface()
|
||||||
{
|
{
|
||||||
$this->expectException('Symfony\Component\Security\Core\Exception\AuthenticationServiceException');
|
$this->expectException('Symfony\Component\Security\Core\Exception\AuthenticationServiceException');
|
||||||
|
@ -62,9 +62,6 @@ class UserAuthenticationProviderTest extends TestCase
|
|||||||
$provider->authenticate($this->getSupportedToken());
|
$provider->authenticate($this->getSupportedToken());
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @group legacy
|
|
||||||
*/
|
|
||||||
public function testAuthenticateWhenProviderDoesNotReturnAnUserInterface()
|
public function testAuthenticateWhenProviderDoesNotReturnAnUserInterface()
|
||||||
{
|
{
|
||||||
$this->expectException('Symfony\Component\Security\Core\Exception\AuthenticationServiceException');
|
$this->expectException('Symfony\Component\Security\Core\Exception\AuthenticationServiceException');
|
||||||
|
@ -72,9 +72,6 @@ class ExceptionListenerTest extends TestCase
|
|||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @group legacy
|
|
||||||
*/
|
|
||||||
public function testExceptionWhenEntryPointReturnsBadValue()
|
public function testExceptionWhenEntryPointReturnsBadValue()
|
||||||
{
|
{
|
||||||
$event = $this->createEvent(new AuthenticationException());
|
$event = $this->createEvent(new AuthenticationException());
|
||||||
|
@ -123,9 +123,6 @@ class LogoutListenerTest extends TestCase
|
|||||||
$listener($event);
|
$listener($event);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @group legacy
|
|
||||||
*/
|
|
||||||
public function testSuccessHandlerReturnsNonResponse()
|
public function testSuccessHandlerReturnsNonResponse()
|
||||||
{
|
{
|
||||||
$this->expectException('RuntimeException');
|
$this->expectException('RuntimeException');
|
||||||
|
@ -39,9 +39,6 @@ class AbstractRememberMeServicesTest extends TestCase
|
|||||||
$this->assertNull($service->autoLogin(new Request()));
|
$this->assertNull($service->autoLogin(new Request()));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @group legacy
|
|
||||||
*/
|
|
||||||
public function testAutoLoginThrowsExceptionWhenImplementationDoesNotReturnUserInterface()
|
public function testAutoLoginThrowsExceptionWhenImplementationDoesNotReturnUserInterface()
|
||||||
{
|
{
|
||||||
$this->expectException('RuntimeException');
|
$this->expectException('RuntimeException');
|
||||||
|
@ -20,9 +20,6 @@ class WorkflowTest extends TestCase
|
|||||||
{
|
{
|
||||||
use WorkflowBuilderTrait;
|
use WorkflowBuilderTrait;
|
||||||
|
|
||||||
/**
|
|
||||||
* @group legacy
|
|
||||||
*/
|
|
||||||
public function testGetMarkingWithInvalidStoreReturn()
|
public function testGetMarkingWithInvalidStoreReturn()
|
||||||
{
|
{
|
||||||
$this->expectException('Symfony\Component\Workflow\Exception\LogicException');
|
$this->expectException('Symfony\Component\Workflow\Exception\LogicException');
|
||||||
|
Reference in New Issue
Block a user