-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[2.8] [DoctrineBridge] fix tests added in EntityType with FQCN #17699
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
Conversation
HeahDude
commented
Feb 5, 2016
Q | A |
---|---|
Bug fix? | no |
New feature? | no |
BC breaks? | no |
Deprecations? | no |
Tests pass? | needs #17694 |
Fixed tickets | - |
License | MIT |
Doc PR | - |
- Wait for [2.7] [DoctrineBridge] [Form] fix choice_value in EntityType #17694 to be merged in 2.8
@@ -36,6 +36,7 @@ | ||
|
||
class EntityTypeTest extends TypeTestCase | ||
{ | ||
const ENTITY_TYPE_CLASS = 'Symfony\Bridge\Doctrine\Form\Type\EntityType'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👎 for this change, it will complicate merges and is a personal preference "enhancement"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nicolas-grekas I agree for the "enhancement" as it considerably eases reading when reviewing and allows autocompletion when writing new tests.
IMHO this should be done in other form tests class too as of 2.8 in a dedicated PR.
This one is originally made to replace alias by fqcn for tests added in #17694.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
So this requires #17694 to be merged first? |
@xabbuh yes it does |
d57c947
to
6b07594
Compare
#17694 is merged in 2.8 now |
6b07594
to
beb70d9
Compare
ping @fabpot, waiting for the green lights, but it should be ok :) |
Green ! |
Thank you @HeahDude. |
…h FQCN (HeahDude) This PR was merged into the 2.8 branch. Discussion ---------- [2.8] [DoctrineBridge] fix tests added in EntityType with FQCN | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | needs #17694 | Fixed tickets | - | License | MIT | Doc PR | - - [x] Wait for #17694 to be merged in 2.8 Commits ------- beb70d9 fix FQCN in tests added by #17694