Skip to content

Commit 315640f

Browse files
committed
Merge pull request #96 from symfony-cmf/remove_some_deprecated_features
Pattern has been renamed to Path in Sf 2.2
2 parents 593be42 + 68a8744 commit 315640f

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

resources/config/routing/sonata_routing.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ sonata_admin:
1010
id: .+
1111

1212
admin_dashboard:
13-
pattern: /admin/
13+
path: /admin/
1414
defaults:
1515
_controller: FrameworkBundle:Redirect:redirect
1616
route: sonata_admin_dashboard

tests/HttpKernel/TestKernelTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ public function setUp()
3232
*/
3333
public function testBundleSetRequire(array $bundleSets, $count)
3434
{
35-
$this->kernel->init();
3635
$this->kernel->requireBundleSets($bundleSets);
3736
$bundles = $this->kernel->registerBundles();
3837
$this->assertCount($count, $bundles);
@@ -60,7 +59,6 @@ public function testBundleAdd()
6059
*/
6160
public function testRequireInvalidBundleSet()
6261
{
63-
$this->kernel->init();
6462
$this->kernel->requireBundleSet('foobar');
6563
}
6664
}

tests/Phpunit/DatabaseTestListenerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public function testPhpcrTestSuite()
3333
->method('getName')
3434
->will($this->returnValue('phpcr'));
3535

36-
$this->assertProcessExecuted(array('doctrine:phpcr:init:dbal', '--drop'));
36+
$this->assertProcessExecuted(array('doctrine:phpcr:init:dbal', '--drop', '--force'));
3737
$this->assertProcessExecuted(array('doctrine:phpcr:repository:init'));
3838

3939
ob_start();

0 commit comments

Comments
 (0)