We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e432726 commit b101c45Copy full SHA for b101c45
Tests/phpunit/3_TagsTest.php
@@ -59,7 +59,9 @@ public function goodDSLProvider()
59
{
60
$dslDir = $this->dslDir.'/eztags';
61
62
- $tagsFieldType = $this->getContainer()->get('ezpublish.fieldType.eztags');
+ // try to make this work across phpunit versions
63
+ $container = $this->container == null ? $this->getContainer() : $this->container;
64
+ $tagsFieldType = $container->get('ezpublish.fieldType.eztags');
65
$validatorConfiguration = $tagsFieldType->getValidatorConfigurationSchema();
66
if (isset($validatorConfiguration['TagsValueValidator']['subTreeLimit'])) {
67
$dslDir .= '/v3';
0 commit comments