File tree Expand file tree Collapse file tree 9 files changed +8
-36
lines changed Expand file tree Collapse file tree 9 files changed +8
-36
lines changed Original file line number Diff line number Diff line change 1616 matrix :
1717 - SYMFONY_VERSION=3.2.*
1818 global :
19- - SYMFONY_DEPRECATIONS_HELPER=231
19+ - SYMFONY_DEPRECATIONS_HELPER=4
2020 - SYMFONY_PHPUNIT_REMOVE="symfony/yaml" SYMFONY_PHPUNIT_DIR="./.phpunit" SYMFONY_PHPUNIT_VERSION=5.7
2121
2222matrix :
Original file line number Diff line number Diff line change 1212namespace Symfony \Cmf \Bundle \RoutingBundle \Tests \Unit \Controller ;
1313
1414use Symfony \Cmf \Bundle \RoutingBundle \Controller \RedirectController ;
15- use Symfony \Cmf \Component \Routing \Test \CmfUnitTestCase ;
1615use Symfony \Component \Routing \RouterInterface ;
1716
18- class RedirectControllerTest extends CmfUnitTestCase
17+ class RedirectControllerTest extends \PHPUnit_Framework_TestCase
1918{
2019 public function testConstructor ()
2120 {
Original file line number Diff line number Diff line change @@ -258,27 +258,6 @@ public function getBasePathsMergingTests()
258258 ];
259259 }
260260
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-
282261 public function testInitializerEnabled ()
283262 {
284263 $ this ->container ->setParameter (
Original file line number Diff line number Diff line change 1717use Symfony \Cmf \Bundle \RoutingBundle \Doctrine \Orm \Route ;
1818use Symfony \Cmf \Bundle \RoutingBundle \Doctrine \Orm \RouteProvider ;
1919use Symfony \Cmf \Component \Routing \Candidates \CandidatesInterface ;
20- use Symfony \Cmf \Component \Routing \Test \CmfUnitTestCase ;
2120use Symfony \Component \HttpFoundation \Request ;
2221use Symfony \Component \Routing \RouteCollection ;
2322
24- class RouteProviderTest extends CmfUnitTestCase
23+ class RouteProviderTest extends \PHPUnit_Framework_TestCase
2524{
2625 /**
2726 * @var Route|\PHPUnit_Framework_MockObject_MockObject
Original file line number Diff line number Diff line change 1616use Symfony \Cmf \Bundle \RoutingBundle \Doctrine \Phpcr \IdPrefixListener ;
1717use Symfony \Cmf \Bundle \RoutingBundle \Doctrine \Phpcr \PrefixCandidates ;
1818use Symfony \Cmf \Bundle \RoutingBundle \Doctrine \Phpcr \Route ;
19- use Symfony \Cmf \Component \Routing \Test \CmfUnitTestCase ;
2019
21- class IdPrefixListenerTest extends CmfUnitTestCase
20+ class IdPrefixListenerTest extends \PHPUnit_Framework_TestCase
2221{
2322 /**
2423 * @var IdPrefixListener
Original file line number Diff line number Diff line change 1717use Symfony \Cmf \Bundle \RoutingBundle \Doctrine \Phpcr \LocaleListener ;
1818use Symfony \Cmf \Bundle \RoutingBundle \Doctrine \Phpcr \PrefixCandidates ;
1919use Symfony \Cmf \Bundle \RoutingBundle \Doctrine \Phpcr \Route ;
20- use Symfony \Cmf \Component \Routing \Test \CmfUnitTestCase ;
2120
22- class LocaleListenerTest extends CmfUnitTestCase
21+ class LocaleListenerTest extends \PHPUnit_Framework_TestCase
2322{
2423 /** @var LocaleListener */
2524 protected $ listener ;
Original file line number Diff line number Diff line change 1717use Doctrine \ODM \PHPCR \Query \Builder \QueryBuilder ;
1818use Doctrine \ODM \PHPCR \Translation \LocaleChooser \LocaleChooserInterface ;
1919use Symfony \Cmf \Bundle \RoutingBundle \Doctrine \Phpcr \PrefixCandidates ;
20- use Symfony \Cmf \Component \Routing \Test \CmfUnitTestCase ;
2120use Symfony \Component \HttpFoundation \Request ;
2221
23- class PrefixCandidatesTest extends CmfUnitTestCase
22+ class PrefixCandidatesTest extends \PHPUnit_Framework_TestCase
2423{
2524 public function testAddPrefix ()
2625 {
Original file line number Diff line number Diff line change 2121use PHPCR \Util \UUIDHelper ;
2222use Symfony \Cmf \Bundle \RoutingBundle \Doctrine \Phpcr \PrefixCandidates ;
2323use Symfony \Cmf \Bundle \RoutingBundle \Doctrine \Phpcr \RouteProvider ;
24- use Symfony \Cmf \Component \Routing \Test \CmfUnitTestCase ;
2524use Symfony \Component \HttpFoundation \Request ;
2625use Symfony \Component \Routing \Route ;
2726use Symfony \Component \Routing \RouteCollection ;
2827
29- class RouteProviderTest extends CmfUnitTestCase
28+ class RouteProviderTest extends \PHPUnit_Framework_TestCase
3029{
3130 /**
3231 * @var ManagerRegistry|\PHPUnit_Framework_MockObject_MockObject
Original file line number Diff line number Diff line change 1515use Symfony \Cmf \Component \Routing \Event \Events ;
1616use Symfony \Cmf \Component \Routing \Event \RouterMatchEvent ;
1717use Symfony \Cmf \Component \Routing \RouteObjectInterface ;
18- use Symfony \Cmf \Component \Routing \Test \CmfUnitTestCase ;
1918use Symfony \Component \EventDispatcher \EventDispatcherInterface ;
2019use Symfony \Component \HttpFoundation \Request ;
2120use Symfony \Component \HttpFoundation \RequestStack ;
2423use Symfony \Component \Routing \Matcher \UrlMatcherInterface ;
2524use Symfony \Component \Routing \RequestContext ;
2625
27- class DynamicRouterTest extends CmfUnitTestCase
26+ class DynamicRouterTest extends \PHPUnit_Framework_TestCase
2827{
2928 protected $ matcher ;
3029 protected $ generator ;
You can’t perform that action at this time.
0 commit comments