Skip to content

[PropertyAccess] Fix PropertyAccessorCollectionTest #32690

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

Merged
merged 1 commit into from
Jul 24, 2019

Conversation

fancyweb
Copy link
Contributor

@fancyweb fancyweb commented Jul 23, 2019

Q A
Branch? 3.4
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets -
License MIT
Doc PR -

In #32627, I (a script actually) removed 2 fixtures classes from this test class. They are actually used but by tests that don't fail without them 😁 (because they were mocked and it's possible to mock non existing classes).

This PR restores those 2 classes and remove the unneeded mocks so the tests use the real classes and are actually useful.

@fancyweb fancyweb force-pushed the fix-property-accessor-collection-test branch from ebd37ff to a310bac Compare July 23, 2019 19:08
@Tobion
Copy link
Contributor

Tobion commented Jul 24, 2019

Thank you @fancyweb.

@Tobion Tobion merged commit a310bac into symfony:3.4 Jul 24, 2019
Tobion added a commit that referenced this pull request Jul 24, 2019
…cyweb)

This PR was merged into the 3.4 branch.

Discussion
----------

[PropertyAccess] Fix PropertyAccessorCollectionTest

| Q             | A
| ------------- | ---
| Branch?       | 3.4
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

In #32627, I (a script actually) removed 2 fixtures classes from this test class. They are actually used but by tests that don't fail without them 😁 (because they were mocked and it's possible to mock non existing classes).

This PR restores those 2 classes and remove the unneeded mocks so the tests use the real classes and are actually useful.

Commits
-------

a310bac [PropertyAccess] Fix PropertyAccessorCollectionTest
@fancyweb fancyweb deleted the fix-property-accessor-collection-test branch July 24, 2019 05:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants