Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[WIP] [3.0] [Form] fix tests added by #17760 by removingchoices_as_values#17886

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed
HeahDude wants to merge3 commits intosymfony:3.0fromHeahDude:fix_tests-17760-3_0

Conversation

@HeahDude
Copy link
Contributor

QA
Bug fix?no
New feature?no
BC breaks?no
Deprecations?no
Tests pass?not yet
Fixed ticketsn/a
LicenseMIT
Doc PR-

{
$view =$this->factory->create('Symfony\Component\Form\Extension\Core\Type\ChoiceType',null,array(
'choices' =>$this->scalarChoices,
))->createView();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

If you're merging this into 3.0, you can useChoiceType::class, not sure if that's preferable though.

Copy link
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

@iltar, I know, I even proposed to use constants in core type tests (see#17699 (comment)) as of 2.8 but this is actually to be consistent with other tests ;)

fabpot added a commit that referenced this pull requestFeb 26, 2016
…ude)This PR was merged into the 2.7 branch.Discussion----------[2.7] [Form] fix choice value "false" in ChoiceType| Q             | A| ------------- | ---| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets |#17292,#14712,#17789| License       | MIT| Doc PR        | -- [x] Add tests for choices with `boolean` and `null` values, and with a placeholder- [x] Fix FQCN in 2.8 tests, see#17759- [x] Remove `choices_as_values` in 3.0 tests, see#17886Commits-------8f918e5 [Form] refactor `RadioListMapper::mapDataToForm()`3eac469 [Form] fix choice value "false" in ChoiceType
@fabpot
Copy link
Member

#17760 merged

@fabpot
Copy link
Member

#17760 breaks 3.0,@HeahDude Can you have a look at this ASAP please?

@HeahDude
Copy link
ContributorAuthor

Should be ok. Let me know :)

@HeahDude
Copy link
ContributorAuthor

Not yet :(

@HeahDude
Copy link
ContributorAuthor

Ok now I'm waiting for the green lights.

@fabpot
Copy link
Member

Thank you@HeahDude.

fabpot added a commit that referenced this pull requestFeb 26, 2016
… `choices_as_values` (HeahDude)This PR was squashed before being merged into the 3.0 branch (closes#17886).Discussion----------[WIP] [3.0] [Form] fix tests added by#17760 by removing `choices_as_values`| Q             | A| ------------- | ---| Bug fix?      | no| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | not yet| Fixed tickets | n/a| License       | MIT| Doc PR        | -- [x] Wait for#17760 being merged in 3.0Commits-------03a7705 [WIP] [3.0] [Form] fix tests added by#17760 by removing
@fabpotfabpot closed thisFeb 26, 2016
@HeahDudeHeahDude deleted the fix_tests-17760-3_0 branchFebruary 26, 2016 06:26
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@HeahDude@fabpot@linaori@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp