8000 Allow EnumNode name to be null by MatTheCat · Pull Request #25048 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

Allow EnumNode name to be null #25048

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
8000
Diff view
Diff view
Prev Previous commit
Finalize node
  • Loading branch information
Mathieu Lechat committed Nov 20, 2017
commit ea05224f9e5f3e8f240c1e7051d965d1b99cc4ed
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ public function testConstructionWithOneDistinctValue()

public function testConstructionWithNullName()
{
new EnumNode(null, null, array('foo'));
$node = new EnumNode(null, null, array('foo'));
$this->assertSame('foo', $node->finalize('foo'));
}

/**
Expand Down
0