Skip to content

Commit 74b9fb1

Browse files
author
Mathieu Lechat
committed
Finalize node
1 parent 9986c5e commit 74b9fb1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Symfony/Component/Config/Tests/Definition/EnumNodeTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ public function testConstructionWithOneDistinctValue()
4545

4646
public function testConstructionWithNullName()
4747
{
48-
new EnumNode(null, null, array('foo'));
48+
$node = new EnumNode(null, null, array('foo'));
49+
$this->assertSame('foo', $node->finalize('foo'));
4950
}
5051

5152
/**

0 commit comments

Comments
 (0)