Skip to content

Commit

Permalink
Fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pspanja committed Jan 16, 2019
1 parent 824630c commit 4aec874
Showing 1 changed file with 15 additions and 13 deletions.
Expand Up @@ -114,20 +114,22 @@ public function testIndexableFieldTypeDefaultConfiguration(array $configuration)
{
$this->load($configuration);


$this->assertContainerBuilderHasParameter(
'netgen_ez_platform_search_extra_configuration',
[
'indexable_field_type' => [
'ezxmltext' => [
'enabled' => true,
'short_text_limit' => 256
],
'ezrichtext' => [
'enabled' => true,
'short_text_limit' => 256
],
],
]
'netgen_ez_platform_search_extra.indexable_field_type.ezrichtext.enabled',
true
);
$this->assertContainerBuilderHasParameter(
'netgen_ez_platform_search_extra.indexable_field_type.ezrichtext.short_text_limit',
256
);
$this->assertContainerBuilderHasParameter(
'netgen_ez_platform_search_extra.indexable_field_type.ezxmltext.enabled',
true
);
$this->assertContainerBuilderHasParameter(
'netgen_ez_platform_search_extra.indexable_field_type.ezxmltext.short_text_limit',
256
);
}
}

0 comments on commit 4aec874

Please sign in to comment.