Skip to content
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

DDC-3123 extra updates cleanup #1030

Merged
merged 2 commits into from
May 14, 2014
Merged

Conversation

Ocramius
Copy link
Member

See DDC-3123 ( http://www.doctrine-project.org/jira/browse/DDC-3123 )

Extra updates in the UoW should be cleared immediately.

@doctrinebot
Copy link

Hello,

thank you for creating this pull request. I have automatically opened an issue
on our Jira Bug Tracker for you. See the issue link:

http://www.doctrine-project.org/jira/browse/DDC-3124

We use Jira to track the state of pull requests and the versions they got
included in.

@deeky666
Copy link
Member

👍 looks good to me

deeky666 added a commit that referenced this pull request May 14, 2014
@deeky666 deeky666 merged commit c16de21 into master May 14, 2014
@Ocramius Ocramius deleted the hotfix/DDC-3123-extra-updates-cleanup branch May 14, 2014 23:07
@yshyshkin
Copy link

Thank you for quick fix.


$extraUpdatesReflection->setAccessible(true);

$test->assertEmpty($extraUpdatesReflection->getValue($uow));

Choose a reason for hiding this comment

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

To simplify this code and avoid using of reflections you can use function assertAttributeEmpty.
http://apidoc.phpunit.de/classes/PHPUnit_Framework_Assert/assertAttributeEmpty.html

Copy link
Member Author

Choose a reason for hiding this comment

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

Done @91df8f5649b33d0c3bb50b04c66e1c00bf345df5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants