Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

Commit 4c33efc

Browse files
committed
fixes after rebase
1 parent 6f47890 commit 4c33efc

File tree

3 files changed

+12
-5
lines changed

3 files changed

+12
-5
lines changed

tests/Unit/DependencyInjection/Factory/BlockAdminFactoryTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ public function testParametersBundle()
2424
'bundles' => [
2525
'block' => [
2626
'enabled' => true,
27-
'use_imagine' => true,
2827
'basepath' => 'basepath_value',
2928
'menu_basepath' => 'menu_basepath_value',
3029
'extensions' => [

tests/Unit/DependencyInjection/Factory/ContentAdminFactoryTest.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
namespace Symfony\Cmf\Bundle\SonataPhpcrAdminIntegrationBundle\Tests\Unit\DependencyInjection\Factory;
44

5+
use Symfony\Cmf\Bundle\SonataPhpcrAdminIntegrationBundle\DependencyInjection\Factory\ContentAdminFactory;
6+
use Symfony\Component\DependencyInjection\ContainerBuilder;
7+
use Symfony\Component\DependencyInjection\Loader\XmlFileLoader;
8+
59
/**
610
* @author Maximilian Berghoff <[email protected]>
711
*/

tests/Unit/DependencyInjection/Factory/SeoAdminFactoryTest.php

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,18 @@ public function testParametersBundle()
3434
'bundles' => [
3535
'seo' => [
3636
'enabled' => true,
37-
'form_group' => 'seo_group',
38-
'form_tab' => 'seo_tab'
37+
'extensions' => [
38+
'metadata' => [
39+
'form_group' => 'seo_group',
40+
'form_tab' => 'seo_tab',
41+
],
42+
],
3943
],
4044
],
4145
]);
4246

43-
$this->assertContainerBuilderHasParameter('cmf_sonata_phpcr_admin_integration.seo.form_group', 'seo_group');
44-
$this->assertContainerBuilderHasParameter('cmf_sonata_phpcr_admin_integration.seo.form_tab', 'seo_tab');
47+
$this->assertContainerBuilderHasParameter('cmf_sonata_phpcr_admin_integration.seo.extension.metadata.form_group', 'seo_group');
48+
$this->assertContainerBuilderHasParameter('cmf_sonata_phpcr_admin_integration.seo.extension.metadata.form_tab', 'seo_tab');
4549
}
4650

4751
public function testAdminServicesBundle()

0 commit comments

Comments
 (0)