Skip to content

Commit d290e79

Browse files
committed
minor symfony#10691 [Config] Fix NodeBuilderTest::testNumericNodeCreation. (idn2104)
This PR was submitted for the master branch but it was merged into the 2.3 branch instead (closes symfony#10691). Discussion ---------- [Config] Fix NodeBuilderTest::testNumericNodeCreation. [Config] Fixes a test failure, under both php and hhvm. ``` PHP Fatal error: Class 'Symfony\Component\Config\Tests\Definition\Builder\NodeBuilder' not found in /home/d/dev-fork/symfony-fork/src/Symfony/Component/Config/Tests/Definition/Builder/NodeBuilderTest.php on line 82 ``` | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | N/A | License | MIT | Doc PR | N/A Commits ------- 022c4af [Config] Fix NodeBuilderTest::testNumericNodeCreation to use BaseNodeBuilder alias.
2 parents 7863053 + 022c4af commit d290e79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Config/Tests/Definition/Builder/NodeBuilderTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public function testNodeTypesAreNotCaseSensitive()
7979

8080
public function testNumericNodeCreation()
8181
{
82-
$builder = new NodeBuilder();
82+
$builder = new BaseNodeBuilder();
8383

8484
$node = $builder->integerNode('foo')->min(3)->max(5);
8585
$this->assertInstanceOf('Symfony\Component\Config\Definition\Builder\IntegerNodeDefinition', $node);

0 commit comments

Comments
 (0)