Skip to content

Added test for maintaining references after copying #155

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 2 commits into from
Apr 13, 2015

Conversation

dantleech
Copy link
Member

Test to expose bug reported in jackalope/jackalope-doctrine-dbal#251

@dantleech
Copy link
Member Author

/cc @wachterjohannes

$src = '/tests_write_manipulation_copy/testCopyUpdateReferrersSingleValue/srcNode';
$dst = '/tests_write_manipulation_copy/testCopyUpdateReferrersSingleValue/dstNode';
$ref = '/tests_write_manipulation_copy/testCopyUpdateReferrersSingleValue/referencedNode';

$this->ws->copy($src, $dst);
Copy link
Member

Choose a reason for hiding this comment

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

we should have the assertions before and after refreshing, to make sure both the object state and the storage state are correctly updated.

@dbu
Copy link
Member

dbu commented Apr 10, 2015

@dantleech can you please update this test to assert both before and after refreshing to be sure both memory state and database get updated?

@dantleech
Copy link
Member Author

Updated.

dbu added a commit that referenced this pull request Apr 13, 2015
Added test for maintaining references after copying
@dbu dbu merged commit 51c4a38 into master Apr 13, 2015
@dbu dbu deleted the copy_update_referrers branch April 13, 2015 22:00
@dbu
Copy link
Member

dbu commented Apr 13, 2015 via email

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.

3 participants