File tree 9 files changed +8
-36
lines changed
9 files changed +8
-36
lines changed Original file line number Diff line number Diff line change 16
16
matrix :
17
17
- SYMFONY_VERSION=3.2.*
18
18
global :
19
- - SYMFONY_DEPRECATIONS_HELPER=231
19
+ - SYMFONY_DEPRECATIONS_HELPER=4
20
20
- SYMFONY_PHPUNIT_REMOVE="symfony/yaml" SYMFONY_PHPUNIT_DIR="./.phpunit" SYMFONY_PHPUNIT_VERSION=5.7
21
21
22
22
matrix :
Original file line number Diff line number Diff line change 12
12
namespace Symfony \Cmf \Bundle \RoutingBundle \Tests \Unit \Controller ;
13
13
14
14
use Symfony \Cmf \Bundle \RoutingBundle \Controller \RedirectController ;
15
- use Symfony \Cmf \Component \Routing \Test \CmfUnitTestCase ;
16
15
use Symfony \Component \Routing \RouterInterface ;
17
16
18
- class RedirectControllerTest extends CmfUnitTestCase
17
+ class RedirectControllerTest extends \PHPUnit_Framework_TestCase
19
18
{
20
19
public function testConstructor ()
21
20
{
Original file line number Diff line number Diff line change @@ -258,27 +258,6 @@ public function getBasePathsMergingTests()
258
258
];
259
259
}
260
260
261
- public function testLegacyRouteBasepath ()
262
- {
263
- $ this ->container ->setParameter (
264
- 'kernel.bundles ' ,
265
- ['CmfRoutingBundle ' => true ]
266
- );
267
-
268
- $ this ->load ([
269
- 'dynamic ' => [
270
- 'enabled ' => true ,
271
- 'persistence ' => [
272
- 'phpcr ' => [
273
- 'route_basepath ' => '/cms/test ' ,
274
- ],
275
- ],
276
- ],
277
- ]);
278
-
279
- $ this ->assertContainerBuilderHasParameter ('cmf_routing.dynamic.persistence.phpcr.route_basepaths ' , ['/cms/test ' ]);
280
- }
281
-
282
261
public function testInitializerEnabled ()
283
262
{
284
263
$ this ->container ->setParameter (
Original file line number Diff line number Diff line change 17
17
use Symfony \Cmf \Bundle \RoutingBundle \Doctrine \Orm \Route ;
18
18
use Symfony \Cmf \Bundle \RoutingBundle \Doctrine \Orm \RouteProvider ;
19
19
use Symfony \Cmf \Component \Routing \Candidates \CandidatesInterface ;
20
- use Symfony \Cmf \Component \Routing \Test \CmfUnitTestCase ;
21
20
use Symfony \Component \HttpFoundation \Request ;
22
21
use Symfony \Component \Routing \RouteCollection ;
23
22
24
- class RouteProviderTest extends CmfUnitTestCase
23
+ class RouteProviderTest extends \PHPUnit_Framework_TestCase
25
24
{
26
25
/**
27
26
* @var Route|\PHPUnit_Framework_MockObject_MockObject
Original file line number Diff line number Diff line change 16
16
use Symfony \Cmf \Bundle \RoutingBundle \Doctrine \Phpcr \IdPrefixListener ;
17
17
use Symfony \Cmf \Bundle \RoutingBundle \Doctrine \Phpcr \PrefixCandidates ;
18
18
use Symfony \Cmf \Bundle \RoutingBundle \Doctrine \Phpcr \Route ;
19
- use Symfony \Cmf \Component \Routing \Test \CmfUnitTestCase ;
20
19
21
- class IdPrefixListenerTest extends CmfUnitTestCase
20
+ class IdPrefixListenerTest extends \PHPUnit_Framework_TestCase
22
21
{
23
22
/**
24
23
* @var IdPrefixListener
Original file line number Diff line number Diff line change 17
17
use Symfony \Cmf \Bundle \RoutingBundle \Doctrine \Phpcr \LocaleListener ;
18
18
use Symfony \Cmf \Bundle \RoutingBundle \Doctrine \Phpcr \PrefixCandidates ;
19
19
use Symfony \Cmf \Bundle \RoutingBundle \Doctrine \Phpcr \Route ;
20
- use Symfony \Cmf \Component \Routing \Test \CmfUnitTestCase ;
21
20
22
- class LocaleListenerTest extends CmfUnitTestCase
21
+ class LocaleListenerTest extends \PHPUnit_Framework_TestCase
23
22
{
24
23
/** @var LocaleListener */
25
24
protected $ listener ;
Original file line number Diff line number Diff line change 17
17
use Doctrine \ODM \PHPCR \Query \Builder \QueryBuilder ;
18
18
use Doctrine \ODM \PHPCR \Translation \LocaleChooser \LocaleChooserInterface ;
19
19
use Symfony \Cmf \Bundle \RoutingBundle \Doctrine \Phpcr \PrefixCandidates ;
20
- use Symfony \Cmf \Component \Routing \Test \CmfUnitTestCase ;
21
20
use Symfony \Component \HttpFoundation \Request ;
22
21
23
- class PrefixCandidatesTest extends CmfUnitTestCase
22
+ class PrefixCandidatesTest extends \PHPUnit_Framework_TestCase
24
23
{
25
24
public function testAddPrefix ()
26
25
{
Original file line number Diff line number Diff line change 21
21
use PHPCR \Util \UUIDHelper ;
22
22
use Symfony \Cmf \Bundle \RoutingBundle \Doctrine \Phpcr \PrefixCandidates ;
23
23
use Symfony \Cmf \Bundle \RoutingBundle \Doctrine \Phpcr \RouteProvider ;
24
- use Symfony \Cmf \Component \Routing \Test \CmfUnitTestCase ;
25
24
use Symfony \Component \HttpFoundation \Request ;
26
25
use Symfony \Component \Routing \Route ;
27
26
use Symfony \Component \Routing \RouteCollection ;
28
27
29
- class RouteProviderTest extends CmfUnitTestCase
28
+ class RouteProviderTest extends \PHPUnit_Framework_TestCase
30
29
{
31
30
/**
32
31
* @var ManagerRegistry|\PHPUnit_Framework_MockObject_MockObject
Original file line number Diff line number Diff line change 15
15
use Symfony \Cmf \Component \Routing \Event \Events ;
16
16
use Symfony \Cmf \Component \Routing \Event \RouterMatchEvent ;
17
17
use Symfony \Cmf \Component \Routing \RouteObjectInterface ;
18
- use Symfony \Cmf \Component \Routing \Test \CmfUnitTestCase ;
19
18
use Symfony \Component \EventDispatcher \EventDispatcherInterface ;
20
19
use Symfony \Component \HttpFoundation \Request ;
21
20
use Symfony \Component \HttpFoundation \RequestStack ;
24
23
use Symfony \Component \Routing \Matcher \UrlMatcherInterface ;
25
24
use Symfony \Component \Routing \RequestContext ;
26
25
27
- class DynamicRouterTest extends CmfUnitTestCase
26
+ class DynamicRouterTest extends \PHPUnit_Framework_TestCase
28
27
{
29
28
protected $ matcher ;
30
29
protected $ generator ;
You can’t perform that action at this time.
0 commit comments