Skip to content

Commit

Permalink
Add required config resolver parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
emodric committed Dec 8, 2023
1 parent 9764b7b commit 0815cb2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/Stubs/ConfigResolverStub.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

final class ConfigResolverStub implements ConfigResolverInterface
{
private string $defaultNamespace = 'ezsettings';
private string $defaultNamespace = 'ibexa.site_access.config';

public function __construct(private array $parameters)
{
Expand Down
4 changes: 3 additions & 1 deletion tests/settings/integration/legacy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ services:
ibexa.config.resolver:
class: Netgen\TagsBundle\Tests\Stubs\ConfigResolverStub
arguments:
- { netgen_tags: { edit_views: { default: { identifier: Default } } } }
-
netgen_tags: { edit_views: { default: { identifier: Default } } }
ibexa.site_access.config: { user_content_type_identifier: ['user'] }

netgen_tags.field_type.eztags:
class: Netgen\TagsBundle\Core\FieldType\Tags\Type
Expand Down
1 change: 1 addition & 0 deletions tests/settings/settings.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
parameters:
storage_dir: vendor/ibexa/core/var/ezdemo_site/storage
ezpublish.api.storage_engine.default: legacy
ibexa.site_access.config.default.user_content_type_identifier: ['user']

ezpublish.api.role.policy_map:
tags:
Expand Down

0 comments on commit 0815cb2

Please sign in to comment.