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

Fix setting current_user in integration helper #2006

Merged
merged 1 commit into from
Jan 16, 2021

Conversation

tvdeyen
Copy link
Member

@tvdeyen tvdeyen commented Jan 16, 2021

Under some circumstances it might be that the Alchemy.user_class has not the same object id as the actual Alchemy.user_class

This fixes this by using the class name instead.

Checklist

  • I have followed Pull Request guidelines
  • I have added a detailed description into each commit message
  • The current tests cover this change

@tvdeyen tvdeyen added this to the 5.2 milestone Jan 16, 2021
@hound hound bot deleted a comment from tvdeyen Jan 16, 2021
Under some circumstances it might be that the Alchemy.user_class has not
the same object id as the actual Alchemy.user_class
@tvdeyen tvdeyen force-pushed the fix-integration-test-helper branch from 8be38de to 54f1f22 Compare January 16, 2021 16:59
@tvdeyen tvdeyen merged commit 7db7c4f into AlchemyCMS:main Jan 16, 2021
@tvdeyen tvdeyen deleted the fix-integration-test-helper branch January 16, 2021 17:10
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.

1 participant